CN106059754A - Vehicle data processing method and system, and devices - Google Patents
Vehicle data processing method and system, and devices Download PDFInfo
- Publication number
- CN106059754A CN106059754A CN201610466810.5A CN201610466810A CN106059754A CN 106059754 A CN106059754 A CN 106059754A CN 201610466810 A CN201610466810 A CN 201610466810A CN 106059754 A CN106059754 A CN 106059754A
- Authority
- CN
- China
- Prior art keywords
- controller
- diagnostic apparatus
- key
- secure access
- vehicle data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses a vehicle data processing method and system, and devices. The method comprises the steps of sending a request message for entering an expansion mode to a controller after a diagnosis instrument establishes connection with the to-be-written controller in a vehicle; sending a secure access request to the controller when an entering expansion mode response message fed back by the controller is received; calculating a random code according to a preset secure access algorithm when a secure access response message which is fed back by the controller and carries the random code is received, thereby obtaining a first key, and sending the key to the controller, thereby enabling the controller to calculate the random code according to a locally stored secure access algorithm, thereby obtaining a second key, and verifying the legality of the first key according to the second key; and writing vehicle data in the controller after a secure verification success message is received, wherein the secure verification success message is fed back by the controller after it is verified that the first key and the second are the same. According to the method, the vehicle data is prevented from being tampered, and the security of the vehicle data is ensured.
Description
Technical field
The present invention relates to technical field of vehicle safety, particularly relate to a kind of vehicle data processing method, system and equipment thereof.
Background technology
At present, the Cartronic degree grown with each passing day makes vehicle electric electrical structure become increasingly complex, more and more
Controller share data by CAN, diagnostic apparatus is also to carry out data by CAN with the deagnostic communication of each controller
Transmission.
In the whole life cycle of vehicle, controller each to vehicle is needed to read and write data more, vehicle
Controller trace back data, information of vehicles, configuration information, failure code etc. be all read out from controller by diagnostic apparatus or
It is written in vehicle control device by diagnostic apparatus, if some data such as configuration information write error just will affect vehicle functions
Often run, even cause a serious accident.
But, the most a lot of users do not go to 4S shop to write vehicle configuration information, information of vehicles with regular mandate diagnostic apparatus
And Refresh Data etc., but go to non-brand mandate 4S shop, thus easily lead to vehicle data and be maliciously tampered, affect car
The safety of data.
Summary of the invention
The purpose of the present invention is intended to solve one of above-mentioned technical problem the most to a certain extent.
To this end, the first of the present invention purpose is to propose a kind of vehicle data processing method, the method avoids not warp
Cross the diagnostic apparatus write vehicle data authorized, prevent vehicle data to be tampered, protect the safety of vehicle data.
Second object of the present invention is to propose another kind of vehicle data processing method.
Third object of the present invention is to propose a kind of diagnostic apparatus.
Fourth object of the present invention is to propose a kind of controller.
5th purpose of the present invention is to propose a kind of vehicle data processing system.
To achieve these goals, first aspect present invention embodiment proposes a kind of vehicle data processing method, the party
Method includes: after the controller that diagnostic apparatus is to be written with vehicle is set up and is connected, be transmitted into mode of extension to described controller
Request message;
When, after the entrance mode of extension response message receiving described controller feedback, sending safety to described controller and visit
Ask request;
When after the secure access response message carrying random code receiving described controller feedback, according to default safety
Described random code is calculated by access algorithm, obtains the first key and is sent to described controller, so that described controller root
Carry out calculating the second key obtained to described random code according to the secure access algorithm of locality storage, verify described first key
Legitimacy;
When receive the first key described in described controller verification identical with described second key after feedback safety check
After message, write vehicle data to described controller.
The vehicle data processing method of the embodiment of the present invention, sets up at the controller that diagnostic apparatus is to be written with vehicle and is connected
After, be transmitted into the request message of mode of extension to controller after, when the entrance mode of extension receiving controller feedback is corresponding
After message, send security access request to controller, and then when receiving the response message carrying random code of controller feedback
After, according to default secure access algorithm, random code is calculated, obtain the first key and be sent to controller, so that controlling
Random code is carried out calculating acquisition the second key by the security algorithm that device stores according to locality, verifies the legitimacy of the first key, when
Receive control controller verification the first key and the second key identical after, after the safety check of feedback passes through message, to control
Device write vehicle data.Thus, it is to avoid not through the diagnostic apparatus write vehicle data authorized, prevent vehicle data to be tampered,
Protect the safety of vehicle data.
It addition, the vehicle data processing method of the embodiment of the present invention also has a following additional technical characteristic:
In one embodiment of the invention, described method also includes:
The secure access algorithm corresponding with different types of controller is set in described diagnostic apparatus.
To achieve these goals, second aspect present invention embodiment proposes another kind of vehicle data processing method, should
Method includes:
After the controller of vehicle data to be written is connected with diagnostic apparatus foundation, receive the entrance expansion that described diagnostic apparatus sends
The request message of exhibition pattern;
Judging to know whether current vehicle condition meets entry condition, if condition meets, pattern is switched to expanded mode
Formula, and it is transmitted into mode of extension response message to described diagnostic apparatus;
When receiving the security access request that described diagnostic apparatus sends, carry the peace of random code to described diagnostic apparatus feedback
Full access response message, so that described random code is carried out calculating life by the secure access algorithm that described diagnostic apparatus stores according to locality
Become the first key;
When receive described diagnostic apparatus send described first key after, according to default secure access algorithm to described with
Machine code carries out calculating generation the second key;
If judging to know that described first key is identical with described second key, then logical to the verification of described diagnostic apparatus feedback security
Cross message;
Receive the vehicle data that described diagnostic apparatus sends, and described vehicle data is write described controller.
The vehicle data Processing Algorithm of the embodiment of the present invention, when the controller of vehicle data to be written is set up even with diagnostic apparatus
After connecing, receive the request message entering mode of extension that diagnostic apparatus sends, it is judged that know whether current vehicle condition meets and enter
Condition, if condition meets, pattern is switched to mode of extension, and is transmitted into mode of extension response message to diagnostic apparatus, when connecing
When receiving the security access request that diagnostic apparatus sends, carry the secure access response message of random code to diagnostic apparatus feedback, so that
Random code is carried out calculating generation the first key by the secure access algorithm that diagnostic apparatus stores according to locality, sends out when receiving diagnostic apparatus
After the first key sent, carry out calculating generation the second key to random code according to default secure access algorithm, if judging to know
First key is identical with the second key, then to the verification of diagnostic apparatus feedback security by message, and then receive the car that diagnostic apparatus sends
Data, and by vehicle data writing controller.Thus, it is to avoid receive the vehicle number not write through the diagnostic apparatus authorized
According to, prevent vehicle data to be tampered, protect the safety of vehicle data.
It addition, the vehicle data processing method of the embodiment of the present invention also includes following additional technical characteristic:
In one embodiment of the invention, described method also includes:
In preset time period after described controller powers on, if the secure access receiving the transmission of described diagnostic apparatus please
Ask, be then not responding to described security access request.
In one embodiment of the invention, described method also includes:
If judging to know that described first key differs with described second key, then control secure access counter times and add
One;
When described secure access counter times reaches default value, then in preset time period, it is not responding to described safety
Access request.
In one embodiment of the invention, described method also includes:
When preset time period arrives, control secure access counter times and subtract one;
When receiving the security access request that described diagnostic apparatus sends, then carry the peace of random code to described diagnostic apparatus feedback
Full access response message.
To achieve these goals, third aspect present invention embodiment proposes a kind of diagnostic apparatus, including:
First sending module, after setting up be connected at the controller to be written with vehicle, sends to described controller
Enter the request message of mode of extension;
Second sending module, for when after the entrance mode of extension response message receiving described controller feedback, to institute
State controller and send security access request;
Acquisition module, is used for after receiving the secure access response message carrying random code that described controller feeds back,
According to default secure access algorithm, described random code is calculated, obtain the first key and be sent to described controller, with
Described random code is carried out calculating the second key obtained by the secure access algorithm making described controller store according to locality, verifies
The legitimacy of described first key;
First writing module, for identical with described second key when receiving the first key described in described controller verification
The safety check of rear feedback, by after message, writes vehicle data to described controller.
The diagnostic apparatus of the embodiment of the present invention, after the controller that diagnostic apparatus is to be written with vehicle is set up and is connected, to control
After device is transmitted into the request message of mode of extension, after receiving the corresponding message of entrance mode of extension that controller feeds back, to
Controller sends security access request, and then when after the response message carrying random code receiving controller feedback, according in advance
If secure access algorithm random code is calculated, obtain the first key and be sent to controller so that controller according to work as
Random code is carried out calculating acquisition the second key by the security algorithm of ground storage, verifies the legitimacy of the first key, when receiving control
Controller verification the first key processed and the second key identical after, the safety check of feedback, by after message, writes car to controller
Data.Thus, it is to avoid not through the diagnostic apparatus write vehicle data authorized, prevent vehicle data to be tampered, protect car
The safety of data.
It addition, the diagnostic apparatus of the embodiment of the present invention also has following additional technical characteristic: described diagnostic apparatus also includes:
Module is set, for arranging the secure access algorithm corresponding with different types of controller in described diagnostic apparatus.
To achieve these goals, fourth aspect present invention embodiment proposes a kind of controller, including:
Receiver module, after being connected with diagnostic apparatus foundation, receive the transmission of described diagnostic apparatus enters asking of mode of extension
Seek message;
For judgement, processing module, knows whether current vehicle condition meets entry condition, if condition meets, and pattern
It is switched to mode of extension, and sends mode of extension response message to described diagnostic apparatus;
3rd sending module, for when receiving the security access request that described diagnostic apparatus sends, to described diagnostic apparatus
Feedback carries the secure access response message of random code, so that the secure access algorithm that described diagnostic apparatus stores according to locality is to institute
State random code to carry out calculating generation the first key;
Computing module, for after receiving described first key that described diagnostic apparatus sends, visits according to default safety
Ask that described random code is carried out calculating by algorithm and generate the second key;
Feedback module, for when judging to know that described first key is identical with described second key, to described diagnostic apparatus
Message is passed through in feedback security verification;
Second writing module, for receiving the vehicle data that described diagnostic apparatus sends, and writes institute by described vehicle data
State controller.
The controller of the embodiment of the present invention, after the controller of vehicle data to be written is connected with diagnostic apparatus foundation, receives
The request message entering mode of extension that diagnostic apparatus sends, it is judged that know whether current vehicle condition meets entry condition, if
Condition meets then pattern and is switched to mode of extension, and is transmitted into mode of extension response message to diagnostic apparatus, when receiving diagnosis
During the security access request that instrument sends, carry the secure access response message of random code to diagnostic apparatus feedback, so that diagnostic apparatus root
Carry out calculating generation the first key to random code according to the secure access algorithm of locality storage, when receiving the first of diagnostic apparatus transmission
After key, carry out calculating generation the second key to random code according to default secure access algorithm, if judging to know the first key
Identical with the second key, then to the verification of diagnostic apparatus feedback security by message, and then receive the vehicle data that diagnostic apparatus sends, and
By vehicle data writing controller.Thus, it is to avoid receive the vehicle data not write through the diagnostic apparatus authorized, prevent vehicle
Data are tampered, and protect the safety of vehicle data.
It addition, the controller of the embodiment of the present invention also has following additional technical characteristic: described controller also includes: the
One security protection module, in the preset time period after described controller powers on, sends if receiving described diagnostic apparatus
Security access request, then be not responding to described security access request.
In one embodiment of the invention, described controller also includes:
Second security protection module, for knowing that described first key differs with described second key in judgement, then controls
System secure access counter times adds one, and when described secure access counter times reaches default value, when default
Between be not responding to described security access request in section.
In one embodiment of the invention, described second security protection module, it is additionally operable to:
When preset time period arrives, control secure access counter times and subtract one, thus when described 3rd sending module
When receiving the security access request that described diagnostic apparatus sends, then carry the secure access sound of random code to described diagnostic apparatus feedback
Answer message.
To achieve these goals, fifth aspect present invention embodiment proposes a kind of vehicle data processing system, including:
Diagnostic apparatus described in third aspect present invention embodiment;
Controller described in fourth aspect present invention embodiment.
The vehicle data processing system of the embodiment of the present invention, when the controller of vehicle data to be written is set up even with diagnostic apparatus
After connecing, receive the request message entering mode of extension that diagnostic apparatus sends, it is judged that know whether current vehicle condition meets and enter
Condition, if condition meets, pattern is switched to mode of extension, and is transmitted into mode of extension response message to diagnostic apparatus, when connecing
When receiving the security access request that diagnostic apparatus sends, carry the secure access response message of random code to diagnostic apparatus feedback, so that
Random code is carried out calculating generation the first key by the secure access algorithm that diagnostic apparatus stores according to locality, sends out when receiving diagnostic apparatus
After the first key sent, carry out calculating generation the second key to random code according to default secure access algorithm, if judging to know
First key is identical with the second key, then to the verification of diagnostic apparatus feedback security by message, and then receive the car that diagnostic apparatus sends
Data, and by vehicle data writing controller.Thus, it is to avoid the not vehicle data of the diagnostic apparatus write through authorizing, anti-
Only vehicle data is tampered, and protects the safety of vehicle data.
Aspect and advantage that the present invention adds will part be given in the following description, and part will become from the following description
Obtain substantially, or recognized by the practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or that add aspect and advantage will become from the following description of the accompanying drawings of embodiments
Substantially with easy to understand, wherein:
Fig. 1 is the flow chart of vehicle data processing method according to an embodiment of the invention;
Fig. 2 is the flow chart of safe checking method to diagnostic apparatus according to an embodiment of the invention;
Fig. 3 is the flow chart of the vehicle data processing method according to one specific embodiment of the present invention;
Fig. 4 is the flow chart avoiding cracking continuously secure access algorithm according to an embodiment of the invention;
Fig. 5 is the structural representation of diagnostic apparatus according to an embodiment of the invention;
Fig. 6 is the structural representation of the diagnostic apparatus according to one specific embodiment of the present invention;
Fig. 7 is the structural representation of controller according to an embodiment of the invention;
Fig. 8 is the structural representation of the controller according to one specific embodiment of the present invention;
Fig. 9 is the structural representation of controller in accordance with another embodiment of the present invention;And
Figure 10 is the structural representation of vehicle data processing system according to an embodiment of the invention.
Detailed description of the invention
Embodiments of the invention are described below in detail, and the example of described embodiment is shown in the drawings, the most from start to finish
Same or similar label represents same or similar element or has the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, it is intended to is used for explaining the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings vehicle data processing method, system and the equipment thereof of the embodiment of the present invention are described.
For the ease of describing, 1-Fig. 2 illustrates the car of the embodiment of the present invention with executive agent for diagnostic apparatus below in conjunction with the accompanying drawings
Data processing method, is described as follows:
Fig. 1 is the flow chart of vehicle data processing method according to an embodiment of the invention.As it is shown in figure 1, this vehicle
Data processing method includes:
S110, after the controller that diagnostic apparatus is to be written with vehicle is set up and is connected, is transmitted into expanded mode to controller
The request message of formula.
Generally, in the whole life-cycle processes of vehicle, need the controller of vehicle is read and write in a large number
Vehicle data, the vehicle data such as trace back data in vehicle control device, information of vehicles, configuration information, failure code is all by examining
Disconnected instrument reads out from controller or writes.
And some vehicle data such as configuration information, if write error, the properly functioning of vehicle functions can be affected, even
Causing great accident, also some vehicle data such as vehicle identification code does not allows to be modified.
Therefore, in order to ensure the safety of vehicle data, it is to avoid vehicle data is maliciously tampered, the car of the embodiment of the present invention
In data processing method, allowing diagnostic apparatus before controller write data, whether diagnostic apparatus is being authorized for safety
Verification, when only checking and diagnosing instrument is authorized to, just allows it to write vehicle data in the controller of vehicle.
Wherein, due to current essentially all of car load field diagnostic apparatus and car internal controller communicate the most all use based on
The diagnosing protocol of ISO14229, in the vehicle data processing method of the embodiment of the present invention, adopts international standards in ISO 14229
Standard diagnostics agreement diagnoses whether diagnostic apparatus is authorized to, thus controller just need not to realize any additional or custom protocol
Can realize whether diagnostic apparatus is authorized for safety check.
In this example, $ 27 service in ISO 14229 standard is used to realize the safety check to diagnostic apparatus, wherein $ 27
Service can only be supported under mode of extension, and entering of mode of extension uses $ 10 service in ISO 14229 standard to realize, and closes
As shown in table 1, when sending security access request under a default mode, controller will not support that this asks in system, only control
Device enters and just supports that this asks under mode of extension:
Table 1 security access request and diagnostic mode relation
Analyze based on above, in actual applications, after diagnostic apparatus is connected with controller to be written foundation, in order to examining
The safety of disconnected instrument is authenticated, and is transmitted into the request message of mode of extension to controller.
S120, when, after the entrance mode of extension response message receiving controller feedback, sending secure access to controller
Request.
Specifically, after controller receives the request message entering mode of extension that diagnostic apparatus sends, if controller root
Judge that vehicle meets the condition of entrance mode of extension, then according to the state (such as vehicle data is the need of renewal etc.) of Current vehicle
It is fed into mode of extension response message to diagnostic apparatus, and then diagnostic apparatus is after receiving entrance mode of extension response message, to
Controller sends security access request, to be intended to conduct interviews controller and write data.
S130, when after the secure access response message carrying random code receiving controller feedback, according to default peace
Random code is calculated by full access algorithm, obtains the first key and is sent to controller, so that controller stores according to locality
Secure access algorithm random code is carried out calculate obtain the second key, verify the legitimacy of the first key.
S140, when receive controller verification the first key identical with the second key after feedback safety check pass through message
After, write vehicle data to controller.
It is appreciated that after controller is fed into the message of mode of extension, can use various ways that diagnostic apparatus is carried out
Safety certification.Such as, the identification code of authorized diagnostic apparatus can be preserved the most in the server, be known by the diagnostic apparatus that will obtain
Other code sends to server, is carried out by the identification code of this identification code with the diagnostic apparatus being authorized to being saved for server
Join, if the match is successful, then the most authorized, by the message of safety check to controller feedback diagnostic apparatus.
Preferably, in an enforcement of the present invention, can arrange corresponding with different types of controller in diagnostic apparatus
Secure access algorithm, diagnostic apparatus that this algorithm is only authorized to and controller energy use, the secure access of different controllers is calculated
Method is different, thus when, after the secure access response message carrying random code receiving controller feedback, diagnostic apparatus is according to presetting
Secure access algorithm random code is calculated, generate the first key and be sent to controller, thus controller is according to locality
Random code is carried out calculating acquisition the second key by the secure access algorithm of storage, verifies the legitimacy of the first key.
In this example, if authorized diagnostic apparatus, the secure access algorithm that it uses should use with controller
Secure access algorithm identical, therefore diagnostic apparatus uses this secure access algorithm, and controller feedback is carried the peace of random code
Random code in full access response message, the first key calculated should be calculated with the secure access that controller stores according to locality
It is identical that method carries out calculating the second key obtained to this random code.
Thus, if when receive controller verification the first key and the second key identical after feedback safety check pass through
After message, then allow controller write vehicle data.
In order to more clearly describe, the vehicle data processing method of the embodiment of the present invention, 2 to diagnosis below in conjunction with the accompanying drawings
The safety check flow process of instrument is illustrated, in this example, after controller enters mode of extension, by by diagnostic apparatus root
According to secure access algorithm, controller feedback is carried the random code in the secure access response message of random code calculated
Whether first key, carry out calculating the second key of obtaining with controller according to the secure access algorithm that locality stores to random code
Identical, diagnostic apparatus is carried out safety check, is described as follows:
After the controller that diagnostic apparatus is to be written with vehicle is set up and is connected, it is transmitted into asking of mode of extension to controller
Seek message (S210), according to Rule of judgment such as vehicle-states, controller judges whether Current vehicle meets and enters mode of extension condition
(S220), if condition meets, the response message of mode of extension it is fed into diagnostic apparatus, if condition is unsatisfactory for, to examining
Disconnected instrument feedback does not enter the response message (S230) of mode of extension.
And then after diagnostic apparatus receives the response message entering mode of extension of controller feedback, send peace to controller
Full access request, this security access request includes the request to random code (S240), and then controller is visited safely receiving this
After asking request message, feedback carries the secure access response message (S250) of random code.
Wherein, this message, after feedback carries the secure access message of random code, is carried out having secure access to algorithm by controller
Calculate the second key (S260), the secure access response message carrying random code of the diagnostic apparatus controller feedback to receiving
After, according to default secure access algorithm, random code is calculated.
Obtaining the first key and be sent to controller (S270), the first key and the second key are contrasted by controller
(S280), if controller verification the first key and the second key are identical, then send safety check to diagnostic apparatus and pass through message, from
And controller can write vehicle data at controller;If the first key and the second key are different, then send safety to diagnostic apparatus
The message that verification is not passed through, thus refuse diagnostic apparatus write vehicle data.
In sum, the vehicle data processing method of the embodiment of the present invention, control to be written in diagnostic apparatus with vehicle
Device is set up after connecting, be transmitted into the request message of mode of extension to controller after, when the entrance receiving controller feedback is expanded
After the corresponding message of exhibition pattern, to controller send security access request, and then when receive controller feedback carry random code
Response message after, according to default secure access algorithm, random code is calculated, obtain the first key and be sent to control
Device, so that random code is carried out calculating acquisition the second key by the security algorithm that controller stores according to locality, verifies the first key
Legitimacy, when receive control controller verification the first key and the second key identical after, the safety check of feedback is by reporting
Wen Hou, writes vehicle data to controller.Thus, it is to avoid not through the diagnostic apparatus write vehicle data authorized, prevent vehicle
Data are tampered, and protect the safety of vehicle data.
3-Fig. 4 illustrates the vehicle data process side of the embodiment of the present invention with executive agent for controller below in conjunction with the accompanying drawings
Method, is described as follows:
S310, after the controller of vehicle data to be written is connected with diagnostic apparatus foundation, receives the entrance that diagnostic apparatus sends
The request message of mode of extension.
S320, it is judged that know whether current vehicle condition meets entry condition, if condition meets, pattern is switched to expand
Exhibition pattern, and send mode of extension response message to diagnostic apparatus.
Specifically, after the controller of vehicle data to be written is connected with diagnostic apparatus foundation, entering of diagnostic apparatus transmission is received
Enter the request message of mode of extension, and then judge whether to meet the condition of entrance mode of extension according to vehicle-state, if met
Then switch to mode of extension, be then transmitted into mode of extension response message to diagnostic apparatus.
S330, when receiving the security access request that diagnostic apparatus sends, carries the safety of random code to diagnostic apparatus feedback
Access response message, so that random code is carried out calculating by the secure access algorithm that diagnostic apparatus stores according to locality, to generate first secret
Key.
Specifically, diagnostic apparatus, after receiving the entrance mode of extension response message that controller sends, sends to controller
Security access request, thus controller receive diagnostic apparatus send security access request time, to diagnostic apparatus feedback carry with
The secure access response message of machine code, so that the secure access algorithm corresponding with this controller that diagnostic apparatus stores according to locality
Carry out random code calculating and generate the first key.
S340, after receiving the first key that diagnostic apparatus sends, enters random code according to default secure access algorithm
Row calculates and generates the second key.
In one embodiment of the invention, after receiving the first key that diagnostic apparatus sends, according to default safety
Random code is carried out calculating generation the second key by access algorithm.
Wherein it is desired to explanation, according to the difference of application scenarios, controller noted above generates the time of the second key not
It is limited only within after receiving the first key that diagnostic apparatus sends and generates, it is also possible to ring generating the secure access carrying random code
When answering message, generate the second key etc. according to this random code.
S350, if judging to know that the first key is identical with the second key, then passes through message to the verification of diagnostic apparatus feedback security.
S360, receives the vehicle data that diagnostic apparatus sends, and by vehicle data writing controller.
Specifically, if it is determined that know that the first key and the second key are identical, then show that diagnostic apparatus is through examining of authorizing
Disconnected instrument, thus to the verification of diagnostic apparatus feedback security by message, receive the vehicle data that diagnostic apparatus sends, and vehicle data is write
Enter controller.
In this example, if it is determined that know that the first key and the second key are different, then show that diagnostic apparatus is without permission
Diagnostic apparatus, thus verify, to diagnostic apparatus feedback security, the message that do not passes through, reject the vehicle data that this diagnostic apparatus sends.
In sum, the vehicle data Processing Algorithm of the embodiment of the present invention, when vehicle data to be written controller with examine
Disconnected instrument is set up after connecting, and receives the request message entering mode of extension that diagnostic apparatus sends, it is judged that know that current vehicle condition is
No meeting entry condition, if condition meets, pattern is switched to mode of extension, and is transmitted into mode of extension to diagnostic apparatus and rings
Answering message, when receiving the security access request that diagnostic apparatus sends, the secure access carrying random code to diagnostic apparatus feedback rings
Answer message, so that random code is carried out calculating generation the first key, when connecing by the secure access algorithm that diagnostic apparatus stores according to locality
After receiving the first key that diagnostic apparatus sends, according to default secure access algorithm, random code is carried out calculating generation second secret
Key, if judging to know that the first key is identical with the second key, then verifies by message to diagnostic apparatus feedback security, and then reception is examined
The vehicle data that disconnected instrument sends, and by vehicle data writing controller.Thus, it is to avoid reception is not write through the diagnostic apparatus of mandate
The vehicle data entered, prevents vehicle data to be tampered, and protects the safety of vehicle data.
Based on above example, further, in order to avoid unwarranted diagnostic apparatus cracks above-mentioned secure access algorithm,
In the vehicle data processing method embodiment of the present invention, the difficulty of secure access algorithm can be cracked by increase, prevent further
Only vehicle data is tampered, the safety of protection vehicle data.
When reality is applied, various ways increase can be used to crack the difficulty of secure access algorithm, enter at controller below
After entering mode of extension, by by increasing the difficulty cracking secure access algorithm in the way of avoiding cracking continuously secure access algorithm
As a example by be illustrated, be described as follows:
As the first example, on the controller in the preset time period after electricity, if receiving the peace that diagnostic apparatus sends
Full access request, then be not responding to security access request.
Specifically, after controller enters mode of extension, if receiving the security access request that diagnostic apparatus sends, in control
Device processed power on after Preset Time in, in such as 10 seconds, be then not responding to secure access demand.
Thus, on the controller in the preset time period after electricity, it is not responding to any security access request, therefore diagnostic apparatus exists
The secure access response message carrying random code of controller feedback is not received in this preset time period.
Therefore, in this example, by controlling controller and powering on, the operation such as lower electricity control after controller restarts, all
After needing to wait Preset Time again, the security access request of controller just meeting response diagnostics instrument, it is to avoid by constantly controlling controller
Restart the purpose reaching to crack secure access algorithm continuously.
As the second example, when the number of times that the first key and the second key differ exceedes certain number of times, controller
Within a period of time, being then not responding to the security access request that diagnostic apparatus sends, just proceeding to respond to until exceeding certain time, thus
Diagnostic apparatus can only be carried out continuously the connected reference of certain number of times, when access times are more than certain number of times, it is necessary to waits a timing
After between, controller just may proceed to the diagnosis request that response diagnostics instrument sends, and calculates so that diagnostic apparatus cracks secure access continuously
Method becomes impossible.
Specifically, Fig. 4 is the method increasing the difficulty cracking secure access algorithm according to an embodiment of the invention
Flow chart, as shown in Figure 4, the method includes:
S410, if judging to know that the first key differs with the second key, then controls secure access counter times and adds one.
S420, when having secure access to counter times and reaching default value, is then not responding to safe visit in preset time period
Ask request.
Specifically, in order to avoid cracking secure access algorithm continuously, secure access enumerator calculating diagnostic apparatus is set and carries out
The default value of number of times of secure access, such as arranges secure access enumerator and calculates number of times that diagnostic apparatus carries out having secure access to
Default value is three times.
Thus, if judging to know that the first key differs with the second key, then control secure access counter times and add one,
When having secure access to counter times and reaching default value, then in preset time period, it is not responding to security access request, such as exists
The security access request of diagnostic apparatus it is not responding in 10 seconds.
S430, when preset time period arrives, controls secure access counter times and subtracts one.
S440, when receiving the security access request that diagnostic apparatus sends, then carries the safety of random code to diagnostic apparatus feedback
Access response message.
Specifically, when preset time period reaches, then control secure access counter times and subtract one, thus controller response
The security access request of diagnostic apparatus transmission, carries the secure access response message of random code to diagnostic apparatus feedback.
For example, when the default value of the number of times of secure access is three times, when preset time period is 10 seconds, it is judged that know
When the number of times that first key and the second key differ is three times, it was demonstrated that it is all failed that diagnostic apparatus carries out three secure access, thus
Controller is the security access request of no longer response diagnostics instrument in 10 seconds.
After 10 seconds, control secure access counter times and subtract one, i.e. current safety access counter number of times is two, can connect
Receive the security access request that diagnostic apparatus sends, carry the secure access response message of random code to diagnostic apparatus feedback, work as diagnostic apparatus
Use secure access algorithm, controller feedback is carried the random code in the secure access response message of random code, calculates
The first key should carry out this random code calculating second obtained with the secure access algorithm that controller stores according to locality
When key differs, controlling secure access counter times and add one, current safety access counter number of times is three, and controller is 10
The security access request of no longer response diagnostics instrument in Miao.
Thus, only use secure access algorithm when diagnostic apparatus, controller feedback is carried the secure access of random code
Random code in response message, the secure access algorithm that the first key calculated should store according to locality with controller is to this
Random code carry out calculate obtain the second key identical time secure access enumerator just reset, even if therefore control controller carry out
Reset, the number of times of secure access enumerator can not be reset.
In sum, the vehicle number data processing method of the embodiment of the present invention, it is achieved that no matter power on, lower electricity or control
Device resets and all makes to crack continuously secure access algorithm and become impossible, it is to avoid unwarranted diagnostic apparatus cracks out relevant peace
Full access algorithm, prevents vehicle data to be tampered further, protects the safety of vehicle data.
In order to realize above-described embodiment, the invention allows for a kind of diagnostic apparatus.Fig. 5 is according to one embodiment of the invention
The structural representation of diagnostic apparatus.As it is shown in figure 5, this diagnostic apparatus includes: first sending module the 110, second sending module 120,
Acquisition module 130 and the first writing module 140.
Wherein, the first sending module 110, after setting up be connected at the controller to be written with vehicle, is sent out to controller
It is fed into the request message of mode of extension.
Specifically, after diagnostic apparatus is connected with controller to be written foundation, in order to the safety of diagnostic apparatus is authenticated,
First sending module 110 is transmitted into the request message of mode of extension to controller.
Second sending module 120, for when after the entrance mode of extension response message receiving controller feedback, to control
Device sends security access request.
Specifically, after controller receives the request message entering mode of extension that the first sending module 110 sends, control
If according to the state (such as vehicle data is the need of renewal etc.) of Current vehicle, device judges that vehicle meets enter mode of extension
Condition, then be fed into mode of extension response message to diagnostic apparatus, and then after receiving entrance mode of extension response message,
Second sending module 120 sends security access request to controller, to be intended to conduct interviews controller and write data.
Acquisition module 130, is used for after receiving the secure access response message carrying random code that controller feeds back, root
According to default secure access algorithm, random code is calculated, obtain the first key and be sent to controller, so that controller root
Carry out calculating the second key obtained to random code according to the secure access algorithm of locality storage, verify the legitimacy of the first key.
First writing module 140, for when receive controller verification the first key identical with the second key after feed back
Safety check, by after message, writes vehicle data to controller.
Preferably, in one of present invention enforcement, as shown in Figure 6, as shown in Figure 5 on the basis of, this diagnostic apparatus is also
Including arranging module 150, module 150 is set the secure access corresponding with different types of controller can be set in diagnostic apparatus
Algorithm, this algorithm only has the diagnostic apparatus and controller energy use being authorized to, and the secure access algorithm of different controllers is different, thus
When, after the secure access response message carrying random code receiving controller feedback, acquisition module 130 is according to arranging module 150
Preset secure access algorithm random code is calculated, generate the first key and be sent to controller, thus controller according to
Random code is carried out calculating acquisition the second key by the secure access algorithm of local storage, verifies the legitimacy of the first key.
In this example, if authorized diagnostic apparatus, the secure access algorithm that it uses should use with controller
Secure access algorithm identical, therefore acquisition module 130 uses this secure access algorithm, and controller feedback is carried random code
Secure access response message in random code, acquisition the safety visit that should store according to locality with controller of the first key
Ask that algorithm carries out calculating the second key obtained to this random code identical.
Thus, if when receive controller verification the first key and the second key identical after feedback safety check pass through
After message, the first writing module 140 then writes vehicle data to controller.
It should be noted that the diagnostic apparatus of the embodiment of the present invention processes with the above-mentioned vehicle data described with reference to Fig. 1-Fig. 2
The technical characteristic of method is corresponding, and the details not disclosed in the diagnostic apparatus of the embodiment of the present invention does not repeats them here.
In sum, the diagnostic apparatus of the embodiment of the present invention, after the controller to be written with vehicle is set up and be connected, to control
After device processed is transmitted into the request message of mode of extension, after receiving the corresponding message of entrance mode of extension that controller feeds back,
Security access request is sent to controller, and then after receiving the response message carrying random code that controller feeds back, according to
Preset secure access algorithm random code is calculated, obtain the first key and be sent to controller so that controller according to
Random code is carried out calculating acquisition the second key by the security algorithm of local storage, verifies the legitimacy of the first key, when receiving
Control controller verification the first key and the second key identical after, the safety check of feedback is by after message, to controller write
Vehicle data.Thus, it is to avoid not through the diagnostic apparatus write vehicle data authorized, prevent vehicle data to be tampered, protect
The safety of vehicle data.
In order to realize above-described embodiment, the invention allows for a kind of controller.Fig. 7 is according to one embodiment of the invention
The structural representation of controller.As it is shown in fig. 7, this controller includes that receiver module 210, processing module the 220, the 3rd send mould
Block 230, computing module 240, feedback module 250 and the second writing module 260.
Wherein, receiver module 210, after being connected with diagnostic apparatus foundation, receive the entrance mode of extension that diagnostic apparatus sends
Request message.
For judgement, processing module 220, knows whether current vehicle condition meets entry condition, if condition meets, and mould
Formula is switched to mode of extension, and sends mode of extension response message to diagnostic apparatus.
Specifically, after the controller of vehicle data to be written is connected with diagnostic apparatus foundation, receiver module 210 receives diagnosis
Instrument send enter mode of extension request message, and then processing module 220 according to vehicle-state judge whether meet enter expand
The condition of exhibition pattern, if meeting, switching to mode of extension, being then transmitted into mode of extension response message to diagnostic apparatus.
3rd sending module 230, for when receiving the security access request that diagnostic apparatus sends, takes to diagnostic apparatus feedback
With the secure access response message of random code, so that random code is counted by the secure access algorithm that diagnostic apparatus stores according to locality
Calculate and generate the first key.
Specifically, diagnostic apparatus, after receiving the entrance mode of extension response message that controller sends, sends to controller
Security access request, thus the 3rd sending module 230 is when receiving the security access request that diagnostic apparatus sends, anti-to diagnostic apparatus
The secure access response message of random code is carried in feedback, so that the safety corresponding with this controller that diagnostic apparatus stores according to locality
Random code is carried out calculating generation the first key by access algorithm.
Computing module 240, for after receiving described first key that diagnostic apparatus sends, according to default secure access
Random code is carried out calculating generation the second key by algorithm.
Feedback module 250, for when judging to know that the first key is identical with the second key, to diagnostic apparatus feedback security school
Test and pass through message.
Second writing module 260, for receiving the vehicle data that diagnostic apparatus sends, and by vehicle data writing controller.
Specifically, if it is determined that know that the first key and the second key are identical, then show that diagnostic apparatus is through examining of authorizing
Disconnected instrument, thus feedback module 250 verifies by message to diagnostic apparatus feedback security, the second writing module 260 receives diagnostic apparatus and sends out
The vehicle data sent, and by vehicle data writing controller.
In this example, if it is determined that know that the first key and the second key are different, then show that diagnostic apparatus is without permission
Diagnostic apparatus, thus verify, to diagnostic apparatus feedback security, the message that do not passes through, the second writing module 260 rejects this diagnostic apparatus
The vehicle data sent.
In sum, the controller of the embodiment of the present invention, after being connected with diagnostic apparatus foundation, receive entering of diagnostic apparatus transmission
Enter the request message of mode of extension, it is judged that know whether current vehicle condition meets entry condition, if condition meets, pattern
It is switched to mode of extension, and is transmitted into mode of extension response message to diagnostic apparatus, when receiving the safety visit that diagnostic apparatus sends
When asking request, carry the secure access response message of random code to diagnostic apparatus feedback, so that the peace that diagnostic apparatus stores according to locality
Random code is carried out calculating generation the first key, after receiving the first key that diagnostic apparatus sends, according in advance by full access algorithm
If secure access algorithm random code is carried out calculate generate the second key, if judge know the first key and the second key phase
With, then to the verification of diagnostic apparatus feedback security by message, and then receive the vehicle data that diagnostic apparatus sends, and vehicle data is write
Enter controller.Thus, it is to avoid receive the vehicle data not write through the diagnostic apparatus authorized, prevent vehicle data to be tampered,
Protect the safety of vehicle data.
Based on above example, further, in order to avoid unwarranted diagnostic apparatus cracks above-mentioned secure access algorithm,
In the vehicle data processing method embodiment of the present invention, the difficulty of secure access algorithm can be cracked by increase, prevent further
Only vehicle data is tampered, the safety of protection vehicle data.
When reality is applied, various ways increase can be used to crack the difficulty of secure access algorithm, enter at controller below
After entering mode of extension, by by increasing the difficulty cracking secure access algorithm in the way of avoiding cracking continuously secure access algorithm
As a example by be illustrated, be described as follows:
As the first example, as shown in Figure 8, on the basis of as shown in Figure 7, this controller also includes that first protects safely
Protect module 270, in the preset time period after electricity on the controller, if the secure access receiving diagnostic apparatus transmission please
Ask, be then not responding to security access request.
Specifically, after controller enters mode of extension, if the 3rd sending module 230 receives the peace that diagnostic apparatus sends
Full access request, on the controller in the Preset Time after electricity, in such as 10 seconds, the first security protection module 270 is then not responding to
Secure access demand.
Thus, on the controller in the preset time period after electricity, it is not responding to any security access request, therefore diagnostic apparatus exists
The secure access response message carrying random code of controller feedback is not received in this preset time period.
Therefore, in this example, by controlling controller and powering on, the operation such as lower electricity control after controller restarts, all
After needing to wait Preset Time again, the security access request of controller just meeting response diagnostics instrument, it is to avoid by constantly controlling controller
Restart the purpose reaching to crack secure access algorithm continuously.
As the second example, when the number of times that the first key and the second key differ exceedes certain number of times, controller
Within a period of time, being then not responding to the security access request that diagnostic apparatus sends, just proceeding to respond to until exceeding certain time, thus
Diagnostic apparatus can only be carried out continuously the connected reference of certain number of times, when access times are more than certain number of times, it is necessary to waits a timing
After between, controller just may proceed to the diagnosis request that response diagnostics instrument sends, and calculates so that diagnostic apparatus cracks secure access continuously
Method becomes impossible.
Fig. 9 is the structural representation of controller in accordance with another embodiment of the present invention, as it is shown in figure 9, as shown in Figure 7
On the basis of, this controller includes: the second security protection module 280, for knowing that the first key is with the second key not in judgement
Identical, then control secure access counter times and add one, and when having secure access to counter times and reaching default value, in advance
If being not responding to security access request in the time period.
Specifically, in order to avoid cracking secure access algorithm continuously, secure access enumerator calculating diagnostic apparatus is set and carries out
The default value of number of times of secure access, such as arranges secure access enumerator and calculates number of times that diagnostic apparatus carries out having secure access to
Default value is three times.
Thus, if judging to know that the first key differs with the second key, then control secure access counter times and add one,
When having secure access to counter times and reaching default value, the second security protection module 280 then controls in preset time period not
Response security access request, was such as not responding to the security access request of diagnostic apparatus in 10 seconds.
And then, the first security protection module 280, when preset time period arrives, controls secure access counter times and subtracts
One, when receiving the security access request that diagnostic apparatus sends, then carry the secure access response report of random code to diagnostic apparatus feedback
Literary composition.
Thus, only use secure access algorithm when diagnostic apparatus, controller feedback is carried the secure access of random code
Random code in response message, the secure access algorithm that the first key calculated should store according to locality with controller is to this
Random code carry out calculate obtain the second key identical time secure access enumerator just reset, even if therefore control controller carry out
Reset, the number of times of secure access enumerator can not be reset.
It should be noted that the vehicle data that the controller of the embodiment of the present invention and above-mentioned combination Fig. 3-Fig. 4 describe controls
Embodiment of the method is corresponding, for the details not disclosed in the controller of the embodiment of the present invention, does not repeats them here.
In sum, the controller of the embodiment of the present invention, it is achieved that power on, lower electricity or controller reset and all make
Crack secure access algorithm continuously and become impossible, it is to avoid unwarranted diagnostic apparatus cracks out associated safety access algorithm,
Prevent vehicle data to be tampered further, protect the safety of vehicle data.
In order to realize above-described embodiment, the invention allows for a kind of vehicle data processing system, Figure 10 is according to this
The structural representation of the vehicle data processing system of a bright embodiment.As shown in Figure 10, this vehicle data processing system includes:
Diagnostic apparatus 100 and controller 200.
Wherein, the diagnostic apparatus that diagnostic apparatus 100 describes with above-mentioned combination Fig. 5 to Fig. 6 is corresponding, does not repeats them here.Controller
200 is corresponding with the controller that above-mentioned combination Fig. 7 to Fig. 9 describes, and does not repeats them here.
In sum, the vehicle data processing system of the embodiment of the present invention, control to be written in diagnostic apparatus with vehicle
Device is set up after connecting, be transmitted into the request message of mode of extension to controller after, when the entrance receiving controller feedback is expanded
After the corresponding message of exhibition pattern, to controller send security access request, and then when receive controller feedback carry random code
Response message after, according to default secure access algorithm, random code is calculated, obtain the first key and be sent to control
Device, so that random code is carried out calculating acquisition the second key by the security algorithm that controller stores according to locality, verifies the first key
Legitimacy, when receive control controller verification the first key and the second key identical after, the safety check of feedback is by reporting
Wen Hou, writes vehicle data to controller.Thus, it is to avoid not through the diagnostic apparatus write vehicle data authorized, prevent vehicle
Data are tampered, and protect the safety of vehicle data.
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " specifically show
Example " or the description of " some examples " etc. means to combine this embodiment or example describes specific features, structure, material or spy
Point is contained at least one embodiment or the example of the present invention.In this manual, to the schematic representation of above-mentioned term not
Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be in office
One or more embodiments or example combine in an appropriate manner.Additionally, in the case of the most conflicting, the skill of this area
The feature of the different embodiments described in this specification or example and different embodiment or example can be tied by art personnel
Close and combination.
Although above it has been shown and described that embodiments of the invention, it is to be understood that above-described embodiment is example
Property, it is impossible to being interpreted as limitation of the present invention, those of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, revises, replaces and modification.
Claims (13)
1. a vehicle data processing method, it is characterised in that comprise the following steps:
After the controller that diagnostic apparatus is to be written with vehicle is set up and is connected, it is transmitted into asking of mode of extension to described controller
Seek message;
When, after the entrance mode of extension response message receiving described controller feedback, sending secure access to described controller please
Ask;
When after the secure access response message carrying random code receiving described controller feedback, according to default secure access
Described random code is calculated by algorithm, obtains the first key and is sent to described controller, so that described controller is according to working as
Described random code is carried out calculating the second key obtained by the secure access algorithm of ground storage, verifies the legal of described first key
Property;
When receive the first key described in described controller verification identical with described second key after feedback safety check pass through
After message, write vehicle data to described controller.
2. the method for claim 1, it is characterised in that also include:
The secure access algorithm corresponding with different types of controller is set in described diagnostic apparatus.
3. a vehicle data processing method, it is characterised in that comprise the following steps:
After the controller of vehicle data to be written is connected with diagnostic apparatus foundation, receive the entrance expanded mode that described diagnostic apparatus sends
The request message of formula;
Judging to know whether current vehicle condition meets entry condition, if condition meets, pattern is switched to mode of extension, and
It is transmitted into mode of extension response message to described diagnostic apparatus;
When receiving the security access request that described diagnostic apparatus sends, the safety carrying random code to described diagnostic apparatus feedback is visited
Ask response message, so that the secure access algorithm that described diagnostic apparatus stores according to locality carries out calculating generation the to described random code
One key;
After receiving described first key that described diagnostic apparatus sends, according to default secure access algorithm to described random code
Carry out calculating and generate the second key;
If judging to know that described first key is identical with described second key, then to the verification of described diagnostic apparatus feedback security by report
Literary composition;
Receive the vehicle data that described diagnostic apparatus sends, and described vehicle data is write described controller.
4. method as claimed in claim 3, it is characterised in that also include:
In preset time period after described controller powers on, if receiving the security access request that described diagnostic apparatus sends,
Then it is not responding to described security access request.
5. method as claimed in claim 3, it is characterised in that also include:
If judging to know that described first key differs with described second key, then control secure access counter times and add one;
When described secure access counter times reaches default value, then in preset time period, it is not responding to described secure access
Request.
6. method as claimed in claim 5, it is characterised in that also include:
When preset time period arrives, control secure access counter times and subtract one;
When receiving the security access request that described diagnostic apparatus sends, then carry the safety visit of random code to described diagnostic apparatus feedback
Ask response message.
7. a diagnostic apparatus, it is characterised in that including:
First sending module, after setting up be connected at the controller to be written with vehicle, is transmitted into described controller
The request message of mode of extension;
Second sending module, for when after the entrance mode of extension response message receiving described controller feedback, to described control
Device processed sends security access request;
Acquisition module, is used for after receiving the secure access response message carrying random code that described controller feeds back, according to
Described random code is calculated by the secure access algorithm preset, and obtains the first key and is sent to described controller, so that institute
Stating the secure access algorithm that controller stores according to locality and described random code carries out calculating the second key obtained, checking is described
The legitimacy of the first key;
First writing module, for when receive the first key described in described controller verification identical with described second key after instead
The safety check of feedback, by after message, writes vehicle data to described controller.
8. diagnostic apparatus as claimed in claim 7, it is characterised in that also include:
Module is set, for arranging the secure access algorithm corresponding with different types of controller in described diagnostic apparatus.
9. a controller, it is characterised in that including:
Receiver module, after being connected with diagnostic apparatus foundation, receives the request report entering mode of extension that described diagnostic apparatus sends
Literary composition;
For judgement, processing module, knows whether current vehicle condition meets entry condition, if condition meets, pattern switches
To mode of extension, and send mode of extension response message to described diagnostic apparatus;
3rd sending module, for when receiving the security access request that described diagnostic apparatus sends, feeding back to described diagnostic apparatus
Carry the secure access response message of random code so that the secure access algorithm that stores according to locality of described diagnostic apparatus to described with
Machine code carries out calculating generation the first key;
Computing module, for after receiving described first key that described diagnostic apparatus sends, calculates according to default secure access
Described random code is carried out calculating generation the second key by method;
Feedback module, for when judging to know that described first key is identical with described second key, feeding back to described diagnostic apparatus
Safety check passes through message;
Second writing module, for receiving the vehicle data that described diagnostic apparatus sends, and writes described control by described vehicle data
Device processed.
10. controller as claimed in claim 9, it is characterised in that also include: the first security protection module, for described
Controller power on after preset time period in, if receive described diagnostic apparatus send security access request, then be not responding to institute
State security access request.
11. controllers as claimed in claim 9, it is characterised in that also include:
Second security protection module, for knowing that described first key differs with described second key in judgement, then controls peace
Full access counter number of times adds one, and when described secure access counter times reaches default value, in preset time period
Inside it is not responding to described security access request.
12. controllers as claimed in claim 11, it is characterised in that described second security protection module, are additionally operable to:
When preset time period arrives, control secure access counter times and subtract one, thus when described 3rd sending module receives
During the security access request sent to described diagnostic apparatus, then carry the secure access response report of random code to described diagnostic apparatus feedback
Literary composition.
13. 1 kinds of vehicle data processing systems, it is characterised in that including:
Diagnostic apparatus as described in any one of claim 7-8;
Controller as described in any one of claim 9-12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610466810.5A CN106059754A (en) | 2016-06-23 | 2016-06-23 | Vehicle data processing method and system, and devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610466810.5A CN106059754A (en) | 2016-06-23 | 2016-06-23 | Vehicle data processing method and system, and devices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106059754A true CN106059754A (en) | 2016-10-26 |
Family
ID=57166201
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610466810.5A Pending CN106059754A (en) | 2016-06-23 | 2016-06-23 | Vehicle data processing method and system, and devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106059754A (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106814675A (en) * | 2016-12-31 | 2017-06-09 | 华晨汽车集团控股有限公司 | Safety access method for verifying automotive diagnostic installation legitimacy |
CN106990726A (en) * | 2017-04-18 | 2017-07-28 | 上海汽车集团股份有限公司 | A kind of vehicle CAN network data access method |
CN108207039A (en) * | 2016-12-19 | 2018-06-26 | 比亚迪股份有限公司 | Safe transmission method, external device and the car borne gateway of vehicle-mounted data |
CN108243212A (en) * | 2016-12-24 | 2018-07-03 | 宝沃汽车(中国)有限公司 | For the method and apparatus of vehicle diagnostics |
CN108600224A (en) * | 2018-04-25 | 2018-09-28 | 深圳市道通科技股份有限公司 | The safety access method of diagnostic device and diagnostic device |
CN109150514A (en) * | 2018-08-30 | 2019-01-04 | 北京新能源汽车股份有限公司 | Key writing method and device |
CN109263651A (en) * | 2018-09-28 | 2019-01-25 | 上汽通用五菱汽车股份有限公司 | Safe checking method, autonomous driving vehicle and the storage medium of autonomous driving vehicle |
CN109298966A (en) * | 2018-09-30 | 2019-02-01 | 潍柴动力股份有限公司 | A kind of diagnostic equipment adapter method for anti-counterfeit and device |
CN111061251A (en) * | 2019-12-19 | 2020-04-24 | 中国汽车技术研究中心有限公司 | Method for detecting automobile information safety based on diagnostic protocol |
CN111142500A (en) * | 2019-12-26 | 2020-05-12 | 国汽(北京)智能网联汽车研究院有限公司 | Permission setting method and device for vehicle diagnosis data and vehicle-mounted gateway controller |
CN111757320A (en) * | 2019-03-28 | 2020-10-09 | 华为技术有限公司 | Method for starting vehicle and related equipment |
CN112590705A (en) * | 2021-01-06 | 2021-04-02 | 江铃汽车股份有限公司 | Matching control method and system for automobile Bluetooth key |
CN113799734A (en) * | 2021-10-25 | 2021-12-17 | 中国第一汽车股份有限公司 | Anti-theft matching method, device, server and medium for vehicle anti-theft system |
CN114175706A (en) * | 2019-07-30 | 2022-03-11 | 标致雪铁龙汽车股份有限公司 | System and method for securing diagnostic requests to a motor vehicle computer |
CN117234563A (en) * | 2023-11-10 | 2023-12-15 | 万帮数字能源股份有限公司 | Method and client for upgrading firmware of ECU (electronic control Unit) based on UDS (Universal description service) protocol |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6523417B1 (en) * | 1999-08-17 | 2003-02-25 | Electrical Power & Design, Inc. | End of line seat function and motion tester |
CN101166087A (en) * | 2007-09-30 | 2008-04-23 | 奇瑞汽车有限公司 | A secure validation method for car diagnosis communication |
CN101938472A (en) * | 2010-08-17 | 2011-01-05 | 奇瑞汽车股份有限公司 | Automobile anti-theft system and method |
CN103529823A (en) * | 2013-10-17 | 2014-01-22 | 北奔重型汽车集团有限公司 | Security access control method for vehicle diagnosis system |
CN105700509A (en) * | 2014-11-28 | 2016-06-22 | 奇点新源国际技术开发(北京)有限公司 | Vehicle-borne terminal detection method and device based on CAN bus |
-
2016
- 2016-06-23 CN CN201610466810.5A patent/CN106059754A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6523417B1 (en) * | 1999-08-17 | 2003-02-25 | Electrical Power & Design, Inc. | End of line seat function and motion tester |
CN101166087A (en) * | 2007-09-30 | 2008-04-23 | 奇瑞汽车有限公司 | A secure validation method for car diagnosis communication |
CN101938472A (en) * | 2010-08-17 | 2011-01-05 | 奇瑞汽车股份有限公司 | Automobile anti-theft system and method |
CN103529823A (en) * | 2013-10-17 | 2014-01-22 | 北奔重型汽车集团有限公司 | Security access control method for vehicle diagnosis system |
CN105700509A (en) * | 2014-11-28 | 2016-06-22 | 奇点新源国际技术开发(北京)有限公司 | Vehicle-borne terminal detection method and device based on CAN bus |
Non-Patent Citations (1)
Title |
---|
许勇: "《工业通信网络技术和应用》", 31 January 2013, 西安电子科技大学出版社 * |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108207039A (en) * | 2016-12-19 | 2018-06-26 | 比亚迪股份有限公司 | Safe transmission method, external device and the car borne gateway of vehicle-mounted data |
CN108243212A (en) * | 2016-12-24 | 2018-07-03 | 宝沃汽车(中国)有限公司 | For the method and apparatus of vehicle diagnostics |
CN108243212B (en) * | 2016-12-24 | 2021-07-20 | 宝沃汽车(中国)有限公司 | Method and device for vehicle diagnosis |
CN106814675A (en) * | 2016-12-31 | 2017-06-09 | 华晨汽车集团控股有限公司 | Safety access method for verifying automotive diagnostic installation legitimacy |
CN106990726A (en) * | 2017-04-18 | 2017-07-28 | 上海汽车集团股份有限公司 | A kind of vehicle CAN network data access method |
CN108600224A (en) * | 2018-04-25 | 2018-09-28 | 深圳市道通科技股份有限公司 | The safety access method of diagnostic device and diagnostic device |
WO2019205857A1 (en) * | 2018-04-25 | 2019-10-31 | 深圳市道通科技股份有限公司 | Diagnostic device and security access method therefor |
CN109150514A (en) * | 2018-08-30 | 2019-01-04 | 北京新能源汽车股份有限公司 | Key writing method and device |
CN109150514B (en) * | 2018-08-30 | 2021-05-28 | 北京新能源汽车股份有限公司 | Key writing method and device |
CN109263651A (en) * | 2018-09-28 | 2019-01-25 | 上汽通用五菱汽车股份有限公司 | Safe checking method, autonomous driving vehicle and the storage medium of autonomous driving vehicle |
CN109298966A (en) * | 2018-09-30 | 2019-02-01 | 潍柴动力股份有限公司 | A kind of diagnostic equipment adapter method for anti-counterfeit and device |
CN111757320B (en) * | 2019-03-28 | 2022-09-23 | 华为云计算技术有限公司 | Method for starting vehicle and related equipment |
CN111757320A (en) * | 2019-03-28 | 2020-10-09 | 华为技术有限公司 | Method for starting vehicle and related equipment |
US11902774B2 (en) | 2019-03-28 | 2024-02-13 | Huawei Cloud Computing Technologies Co., Ltd. | Method for starting vehicle and related device |
CN114175706A (en) * | 2019-07-30 | 2022-03-11 | 标致雪铁龙汽车股份有限公司 | System and method for securing diagnostic requests to a motor vehicle computer |
CN111061251A (en) * | 2019-12-19 | 2020-04-24 | 中国汽车技术研究中心有限公司 | Method for detecting automobile information safety based on diagnostic protocol |
CN111142500B (en) * | 2019-12-26 | 2021-08-10 | 国汽(北京)智能网联汽车研究院有限公司 | Permission setting method and device for vehicle diagnosis data and vehicle-mounted gateway controller |
CN111142500A (en) * | 2019-12-26 | 2020-05-12 | 国汽(北京)智能网联汽车研究院有限公司 | Permission setting method and device for vehicle diagnosis data and vehicle-mounted gateway controller |
CN112590705B (en) * | 2021-01-06 | 2021-12-24 | 江铃汽车股份有限公司 | Matching control method and system for automobile Bluetooth key |
CN112590705A (en) * | 2021-01-06 | 2021-04-02 | 江铃汽车股份有限公司 | Matching control method and system for automobile Bluetooth key |
CN113799734A (en) * | 2021-10-25 | 2021-12-17 | 中国第一汽车股份有限公司 | Anti-theft matching method, device, server and medium for vehicle anti-theft system |
CN113799734B (en) * | 2021-10-25 | 2022-11-18 | 中国第一汽车股份有限公司 | Anti-theft matching method, device, server and medium for vehicle anti-theft system |
CN117234563A (en) * | 2023-11-10 | 2023-12-15 | 万帮数字能源股份有限公司 | Method and client for upgrading firmware of ECU (electronic control Unit) based on UDS (Universal description service) protocol |
CN117234563B (en) * | 2023-11-10 | 2024-03-22 | 万帮数字能源股份有限公司 | Method and client for upgrading firmware of ECU (electronic control Unit) based on UDS (Universal description service) protocol |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106059754A (en) | Vehicle data processing method and system, and devices | |
CN111142500B (en) | Permission setting method and device for vehicle diagnosis data and vehicle-mounted gateway controller | |
KR101589217B1 (en) | Method and system for providing vehicle security service | |
CN104052775B (en) | Right management method, device and the system of a kind of cloud platform service | |
CN105700509A (en) | Vehicle-borne terminal detection method and device based on CAN bus | |
KR20140128660A (en) | Accessing system for vehicle network and method of the same | |
CN112969159B (en) | Vehicle control method and vehicle remote control driving system | |
CN106155043A (en) | vehicle data acquisition method, device and equipment | |
US9596225B2 (en) | Out-of-vehicle device interface apparatus and method for protecting in-vehicle network | |
CN113411311B (en) | ECU diagnosis authorization verification method, storage medium and system | |
CN108347432A (en) | Communication system, moving body and communication means | |
CN104948311A (en) | Remote engine control method, device and system | |
US20180152315A1 (en) | Communication system | |
CN109033769A (en) | Based on interaction, server, the vehicle release detection method of vehicle device and its device | |
US11250168B2 (en) | Microcontroller and power supply | |
US10055589B2 (en) | Systems and methods for validating auxiliary power unit or components by secure pin one time password | |
CN115378580B (en) | Authentication method, equipment and system | |
CN111815332A (en) | Equipment activation method, device and system | |
CN103475634B (en) | Method and communication system for safely transmission data | |
CN114138311A (en) | Safety detection method and device for vehicle upgrading and storage medium | |
CN110749046B (en) | Air conditioner control method and device, air conditioner and computer readable storage medium | |
US20160330194A1 (en) | Method for excluding a participant from a group having authorized communication | |
US8258936B2 (en) | Method and system for acquiring integrated operational and support data for a vehicle | |
CN106992960B (en) | Vehicle system operation control method and device | |
KR20200118621A (en) | Device and method for preventing network hacking of vehicle using a gateway |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into 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: 20161026 |