CN106155043A - Vehicle data acquisition methods, device and equipment - Google Patents
Vehicle data acquisition methods, device and equipment Download PDFInfo
- Publication number
- CN106155043A CN106155043A CN201610616065.8A CN201610616065A CN106155043A CN 106155043 A CN106155043 A CN 106155043A CN 201610616065 A CN201610616065 A CN 201610616065A CN 106155043 A CN106155043 A CN 106155043A
- Authority
- CN
- China
- Prior art keywords
- key
- electronic control
- control unit
- target electronic
- random number
- 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
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
Abstract
The application proposes a kind of vehicle data acquisition methods, device and equipment, and wherein, the method includes: sends random number to target electronic control unit and obtains request;Receive the random number that described target electronic control unit returns;Use the algorithm preset, described random number and the control factor corresponding with described target electronic control unit are carried out computing, determines first key corresponding with described target electronic control unit;Described first key is sent to target electronic control unit, so that after described target electronic control unit determines that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.Vehicle data acquisition methods, device and the equipment provided by the application, it is achieved that after the algorithm in ECU flows out, other equipment also cannot obtain the authority that ECU is written and read operation, improves the safety of data in ECU.
Description
Technical field
The application relates to telematics field, particularly relates to a kind of vehicle data acquisition methods, device and equipment.
Background technology
At present, in order to easily from the data obtaining vehicle interior of outside vehicle, generally use diagnostic apparatus
(Tester) equipment is by the bus in OBD OBD (On Board Diagnostics is called for short OBD) interface
It is connected to electronic control unit (Electronic Control Unit is called for short ECU).
As long as after Tester gets the access limit of ECU, ECU can be written and read, and the acquisition of access limit is just
It is that the algorithm shared by and one unlock flow process and realizes.Idiographic flow is:
Tester asks seed (Seed) to ECU;
ECU sends one group of random Seed number to Tester;
Tester, with Seed for input, uses algorithm, calculates a Key1, and Key1 is sent to ECU;
ECU uses identical Seed and algorithm, calculates another Key2, and then comparison and Tester send over
Key1 is the most consistent, if unanimously, then allows Tester to obtain the authority of read-write, otherwise then refuses the read-write operation of Tester.
Generally, modern vehicle also existing a lot of ECU, shares same set of algorithm between all ECU, once algorithm is anticipated
Outer outflow, then in vehicle, the data of whole ECU the most all lose safety guarantee.
Summary of the invention
One of technical problem that the application is intended to solve in correlation technique the most to a certain extent.
To this end, the first of the application purpose is to propose a kind of vehicle data acquisition methods, the method achieve in ECU
Algorithm flow out after, other equipment also cannot obtain ECU is written and read operation authority, improve the safety of data in ECU
Property.
Second purpose of the application is to propose another kind of vehicle data acquisition methods.
3rd purpose of the application is to propose a kind of vehicle data acquisition device.
4th purpose of the application is to propose another kind of vehicle data acquisition device.
5th purpose of the application is to propose a kind of diagnostic apparatus.
6th purpose of the application is to propose a kind of electronic control unit.
For reaching above-mentioned purpose, the application first aspect embodiment proposes a kind of vehicle data acquisition methods, including: to mesh
Mark electronic control unit sends random number and obtains request;Receive the random number that described target electronic control unit returns;Use pre-
If algorithm, described random number and the control factor corresponding with described target electronic control unit are carried out computing, determine and institute
State the first key that target electronic control unit is corresponding;
Described first key is sent to target electronic control unit, so that described target electronic control unit determines described
After first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.
The vehicle data acquisition methods of the embodiment of the present application, first sending random number acquisition to target electronic control unit please
Ask, then receive described target electronic control unit return random number after, i.e. use default algorithm, to described at random
Number and the control factor corresponding with described target electronic control unit carry out computing, determine and described target electronic control unit pair
The first key answered, more described first key is sent to target electronic control unit, so that described target electronic control unit
After determining that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.Thus, real
After having showed the algorithm outflow in ECU, other equipment also cannot obtain the authority that ECU is written and read operation, improves number in ECU
According to safety.
For reaching above-mentioned purpose, the application second aspect embodiment proposes another kind of vehicle data acquisition methods, including: connect
Receive the random number acquisition request that diagnostic apparatus sends;The random number of stochastic generation is returned to described diagnostic apparatus;Use the algorithm preset,
Described random number and locally stored control factor are carried out computing, determines the second key;Receive that described diagnostic apparatus sends the
One key;Judge whether described first key mates with described second key;If coupling, then allow described diagnostic apparatus to local number
According to being written and read operation.
The vehicle data acquisition methods of the embodiment of the present application, first receives the random number acquisition request that diagnostic apparatus sends;So
Backward described diagnostic apparatus returns the random number of stochastic generation;Use default algorithm again, to described random number and locally stored
Control factor and carry out computing, determine the second key;Afterwards after receiving the first key that described diagnostic apparatus sends, i.e. can determine whether institute
State whether the first key mates with described second key;If coupling, then allow described diagnostic apparatus that local data is written and read behaviour
Make.Hereby it is achieved that after the algorithm in ECU flows out, other equipment also cannot obtain the authority that ECU is written and read operation, carries
The safety of data in high ECU.
For reaching above-mentioned purpose, the application third aspect embodiment proposes a kind of vehicle data acquisition device, including: first
Sending module, obtains request for sending random number to target electronic control unit;First receiver module, is used for receiving described mesh
The random number that mark electronic control unit returns;First processing module, for using default algorithm, to described random number and with institute
The control factor stating target electronic control unit corresponding carries out computing, determines first corresponding with described target electronic control unit
Key;Second sending module, for described first key is sent to target electronic control unit, so that described target electronic control
After unit processed determines that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.
The vehicle data acquisition methods of the embodiment of the present application, first sending random number acquisition to target electronic control unit please
Ask, then receive described target electronic control unit return random number after, i.e. use default algorithm, to described at random
Number and the control factor corresponding with described target electronic control unit carry out computing, determine and described target electronic control unit pair
The first key answered, more described first key is sent to target electronic control unit, so that described target electronic control unit
After determining that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.Thus, real
After having showed the algorithm outflow in ECU, other equipment also cannot obtain the authority that ECU is written and read operation, improves number in ECU
According to safety.
For reaching above-mentioned purpose, the application fourth aspect embodiment proposes another kind of vehicle data acquisition device, including: the
Two receiver modules, the random number sent for receiving diagnostic apparatus obtains request;Return module, for described diagnostic apparatus return with
The random number that machine generates;Second processing module, for using default algorithm, to described random number and locally stored control because of
Number carries out computing, determines the second key;3rd receiver module, for receiving the first key that described diagnostic apparatus sends;Judge mould
Block, is used for judging whether described first key mates with described second key;3rd processing module, if for the first key and the
Two cipher key match, then allow described diagnostic apparatus that local data is written and read operation.
The vehicle data acquisition device of the embodiment of the present application, first receives the random number acquisition request that diagnostic apparatus sends;So
Backward described diagnostic apparatus returns the random number of stochastic generation;Use default algorithm again, to described random number and locally stored
Control factor and carry out computing, determine the second key;Afterwards after receiving the first key that described diagnostic apparatus sends, i.e. can determine whether institute
State whether the first key mates with described second key;If coupling, then allow described diagnostic apparatus that local data is written and read behaviour
Make.Hereby it is achieved that after the algorithm in ECU flows out, other equipment also cannot obtain the authority that ECU is written and read operation, carries
The safety of data in high ECU.
For reaching above-mentioned purpose, the application the 5th aspect embodiment proposes a kind of diagnostic apparatus, including the most above-mentioned third aspect
The vehicle data acquisition device that embodiment provides.
For reaching above-mentioned purpose, the application the 6th aspect embodiment proposes a kind of electronic control unit, including the most above-mentioned the
The vehicle data acquisition device that four aspect embodiments provide.
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 schematic flow sheet of the vehicle data acquisition methods of one embodiment of the application;
Fig. 2 is the schematic flow sheet of the vehicle data acquisition methods of another embodiment of the application;
Fig. 3 is the mutual signaling diagram of the vehicle data acquisition methods of one embodiment of the application;
Fig. 4 is the structural representation of the vehicle data acquisition device of one embodiment of the application;
Fig. 5 is the structural representation of the vehicle data acquisition device of another embodiment of the application;
Fig. 6 is the structural representation of the diagnostic apparatus of one embodiment of the application;
Fig. 7 is the structural representation of the electronic control unit of one embodiment of the application.
Detailed description of the invention
Embodiments herein is 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 be used for explaining the application, and it is not intended that restriction to the application.
Below with reference to the accompanying drawings the information security processing method of the embodiment of the present application, device and equipment are described.
Fig. 1 is the schematic flow sheet of the vehicle data acquisition methods of one embodiment of the application.
As it is shown in figure 1, this vehicle data acquisition methods includes:
Step 101, sends random number to target electronic control unit and obtains request.
Concrete, the executive agent of the vehicle data acquisition methods that the present embodiment provides can be diagnostic apparatus (Tester),
This diagnostic apparatus can pass through the bus in OBD OBD (On Board Diagnostics is called for short OBD) interface
It is connected to vehicle-mounted electronic control unit (Electronic Control Unit is called for short ECU), to read the vehicle number in ECU
According to.
Wherein, vehicle generally includes multiple ECU, different ECU may preserve the data that vehicle is different, diagnostic apparatus
The mark of target ECU can be determined according to each ECU stores the feature of data, and send that random number obtains to corresponding ECU please
Ask.
Step 102, receives the random number that described target electronic control unit returns.
Concrete, ECU, can be according to the method for budget after receiving the RANDOM NUMBER request that tester sends every time, at random
Generate a random number, and return to tester.
Step 103, uses the algorithm preset, to described random number and the control corresponding with described target electronic control unit
Factor carries out computing, determines first key corresponding with described target electronic control unit.
Wherein, the algorithm preset, is to be preset in advance in tester, and this is the public affairs that all ECU calculate when accessing key
Use algorithm.
It addition, the control factor that target ECU is corresponding, each ECU producer oneself arrange, can be preset in advance
In tester, or, tester can also obtain control corresponding to each ECU by sending, to each ECU producer, the request of acquisition
Factor.
I.e. before above-mentioned steps 103, the method, also include:
Obtain the control factor corresponding with described target electronic control unit.
Concrete, if tester is prefixed each ECU mark and the mapping relations controlling factor in advance, then tester is i.e.
The mapping relations preset can be inquired about according to the mark of target ECU, the control factor that target ECU is corresponding can be determined at.
Or, tester sends to the server corresponding with target ECU mark and obtains the request controlling factor, thus from clothes
Business device side obtains control factor corresponding to ECU.
Step 104, is sent to target electronic control unit by described first key, so that described target electronic control unit
After determining that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.
Concrete, the first key, after determining the first key, can be sent to target ECU, ECU afterwards by tester
Judge that the calculated key of the first key and their own is the most consistent, if unanimously, then can confirm that tester is legal, then
Tester can read data from target ECU, or rewrites the data in target ECU.
By above-mentioned analysis, in the embodiment of the present application, by controlling factor for each ECU configuration so that budget
Algorithm is after illegally being obtained by other equipment, owing to not knowing the control factor of target ECU, and cannot obtain first close accurately
Key, thus target ECU can not be written and read operation.
The vehicle data acquisition methods of the embodiment of the present application, first sending random number acquisition to target electronic control unit please
Ask, then receive described target electronic control unit return random number after, i.e. use default algorithm, to described at random
Number and the control factor corresponding with described target electronic control unit carry out computing, determine and described target electronic control unit pair
The first key answered, more described first key is sent to target electronic control unit, so that described target electronic control unit
After determining that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.Thus, real
After having showed the algorithm outflow in ECU, other equipment also cannot obtain the authority that ECU is written and read operation, improves number in ECU
According to safety.
Fig. 2 is the schematic flow sheet of the vehicle data acquisition methods of another embodiment of the application.
As in figure 2 it is shown, this vehicle data acquisition methods, including:
Step 201, receives the random number acquisition request that diagnostic apparatus sends.
Wherein, the vehicle data acquisition methods that the present embodiment provides, realization can be configured in ECU.
Concrete, diagnostic apparatus (tester) can pass through OBD OBD (On Board
Diagnostics, is called for short OBD) bus in interface is connected to electronic control unit (Electronic Control Unit, letter
Claim ECU), the data in ECU to be written and read operation.After tester with ECU is connected, random number can be sent to ECU and obtain
Take request.
Step 202, returns the random number of stochastic generation to described diagnostic apparatus.
Concrete, ECU can shift to an earlier date preset a number of random number, receiving the random number that tester sends afterwards
After obtaining request, i.e. randomly choose a number and return to tester;Or, ECU can also shift to an earlier date preset a kind of random number raw
Become rule, afterwards after receiving the random number acquisition request that tester sends, can be according to preset rule, stochastic generation one
Random number returns to tester.
Step 203, uses the algorithm preset, described random number and locally stored control factor is carried out computing, determines
Second key.
Concrete, ECU presets the algorithm identical with tester, and the control factor that this ECU is corresponding, when ECU generates
After random number, default algorithm can be used, random number and locally stored control factor are carried out computing, to determine that second is close
Key, such as carries out power operation by random number and locally stored control factor, determines the second key.
Step 204, receives the first key that described diagnostic apparatus sends.
It should be noted that between above-mentioned steps 204 and step 203 and unfixed sequencing, such as can first hold
Row step 204, then perform step 203, or step 203 and step 204 are performed simultaneously, this is not construed as limiting by the present embodiment.
Step 205, it is judged that whether described first key mates with described second key, if coupling, then performs step 206,
Otherwise, step 207 is performed.
Step 206, it is allowed to described diagnostic apparatus is written and read operation to local data.
Step 207, refuses the described diagnostic apparatus read-write operation to local data.
Concrete, if ECU is by judging, determine that the first key and the second key are identical, then can return to diagnostic apparatus and recognize
Card is by message, then further according to the operation of diagnostic apparatus, local data is sent to diagnostic apparatus, or according to diagnostic apparatus transmission
Data, rewrite local data etc..
And if ECU is by judging, determining that the first key and the second key are different, then can be to the failure of diagnostic apparatus return authentication
Message, thus the information no longer sent diagnostic apparatus responds, or directly disconnect the communication port etc. with diagnostic apparatus, so that
Diagnostic apparatus cannot be written and read operation to the data in ECU.
The vehicle data acquisition methods of the embodiment of the present application, first receives the random number acquisition request that diagnostic apparatus sends;So
Backward described diagnostic apparatus returns the random number of stochastic generation;Use default algorithm again, to described random number and locally stored
Control factor and carry out computing, determine the second key;Afterwards after receiving the first key that described diagnostic apparatus sends, i.e. can determine whether institute
State whether the first key mates with described second key;If coupling, then allow described diagnostic apparatus that local data is written and read behaviour
Make.Hereby it is achieved that after the algorithm in ECU flows out, other equipment also cannot obtain the authority that ECU is written and read operation, carries
The safety of data in high ECU.
Fig. 3 is the mutual signaling diagram of the vehicle information acquisition method of another embodiment of the application.
As it is shown on figure 3, this vehicle information acquisition method, including:
Step 301, diagnostic apparatus sends random number to target ECU and obtains request.
Step 302, target ECU produces random number.
Step 303, target ECU returns random number to diagnostic apparatus.
Step 304, diagnostic apparatus uses the algorithm preset, to random number and the control corresponding with target electronic control unit because of
Number carries out computing, determines first key corresponding with target electronic control unit.
Step 305, target ECU uses the algorithm preset, transports described random number and locally stored control factor
Calculate, determine the second key.
Step 306, the first key is sent to target ECU by diagnostic apparatus.
Step 307, target ECU judges described first key and described second cipher key match.
Step 308, target ECU is to diagnostic apparatus mandate read-write operation authority.
In order to realize above-described embodiment, the application also proposes a kind of vehicle data acquisition device.
Fig. 4 is the structural representation of the vehicle data acquisition device of one embodiment of the application.
As shown in Figure 4, this vehicle data acquisition device includes:
First sending module 41, obtains request for sending random number to target electronic control unit;
First receiver module 42, for receiving the random number that described target electronic control unit returns;
First processing module 43, for using default algorithm, to described random number and controls single with described target electronic
The control factor of unit's correspondence carries out computing, determines first key corresponding with described target electronic control unit;
Second sending module 44, for described first key is sent to target electronic control unit, so that described target
After electronic control unit determines that described first key is legal, it is allowed to the data in described target electronic control unit are written and read
Operation.
Wherein, this vehicle data acquisition device can be configured in diagnostic apparatus realization, for by OBD interface and ECU
Connect, from ECU, read vehicle data, or the vehicle data in ECU is modified.
In a kind of possible way of realization of the present embodiment, this vehicle data acquisition device, also include: acquisition module 45,
For obtaining the control factor corresponding with described target electronic control unit.
It should be noted that the aforementioned explanation to the vehicle data acquisition methods embodiment shown in Fig. 1 is also applied for
The vehicle data acquisition device of this embodiment, here is omitted.
The vehicle data acquisition device of the embodiment of the present application, first sending random number acquisition to target electronic control unit please
Ask, then receive described target electronic control unit return random number after, i.e. use default algorithm, to described at random
Number and the control factor corresponding with described target electronic control unit carry out computing, determine and described target electronic control unit pair
The first key answered, more described first key is sent to target electronic control unit, so that described target electronic control unit
After determining that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.Thus, real
After having showed the algorithm outflow in ECU, other equipment also cannot obtain the authority that ECU is written and read operation, improves number in ECU
According to safety.
Fig. 5 is the structural representation of the vehicle data acquisition device of another embodiment of the application.As it is shown in figure 5, this letter
Breath secure processing device, including:
Second receiver module 51, the random number sent for receiving diagnostic apparatus obtains request;
Return module 52, for returning the random number of stochastic generation to described diagnostic apparatus;
Second processing module 53, for using default algorithm, enters described random number and locally stored control factor
Row operation, determines the second key;
3rd receiver module 54, for receiving the first key that described diagnostic apparatus sends;
Judge module 55, is used for judging whether described first key mates with described second key;
3rd processing module 56, if for the first key and the second cipher key match, then allows described diagnostic apparatus to local number
According to being written and read operation.
The vehicle data acquisition device that the present embodiment provides, can be configured in ECU realization, for by OBD interface
It is connected with diagnostic apparatus, with when determining that diagnostic apparatus is legal, it is allowed to diagnostic apparatus is written and read operation to the data in ECU.
In a kind of possible way of realization of the present embodiment, this vehicle data acquisition device, also include: fourth processing module
57, if not mating for the first key and the second key, then refuse the described diagnostic apparatus read-write operation to local data.
It should be noted that the aforementioned explanation to the vehicle data acquisition methods embodiment shown in Fig. 2 is also applied for
The vehicle data acquisition device of this embodiment, here is omitted.
The vehicle data acquisition device of the embodiment of the present application, first receives the random number acquisition request that diagnostic apparatus sends;So
Backward described diagnostic apparatus returns the random number of stochastic generation;Use default algorithm again, to described random number and locally stored
Control factor and carry out computing, determine the second key;Afterwards after receiving the first key that described diagnostic apparatus sends, i.e. can determine whether institute
State whether the first key mates with described second key;If coupling, then allow described diagnostic apparatus that local data is written and read behaviour
Make.Hereby it is achieved that after the algorithm in ECU flows out, other equipment also cannot obtain the authority that ECU is written and read operation, carries
The safety of data in high ECU.
Fig. 6 is the structural representation of one embodiment diagnostic apparatus of the application.As it is shown in figure 5, this diagnostic apparatus 6 includes such as Fig. 4
Shown vehicle data acquisition device 61.
It should be noted that the aforementioned explanation to the vehicle data acquisition methods embodiment shown in Fig. 1 and useful effect
Really, being also applied for the diagnostic apparatus of this embodiment, here is omitted.
Fig. 7 is the structural representation of one embodiment electronic control unit of the application.As it is shown in fig. 7, this Electronic Control list
Unit 7 includes vehicle data acquisition device 71 as shown in Figure 5.
It should be noted that the aforementioned explanation to the vehicle data acquisition methods embodiment shown in Fig. 2 and useful effect
Really, being also applied for the electronic control unit of this embodiment, here is omitted.
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 application.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance
Or the implicit quantity indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or
Implicitly include at least one this feature.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred implementation of the application includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the application
Embodiment person of ordinary skill in the field understood.
Should be appreciated that each several part of the application can realize by hardware, software, firmware or combinations thereof.Above-mentioned
In embodiment, the software that multiple steps or method in memory and can be performed by suitable instruction execution system with storage
Or firmware realizes.Such as, if realized with hardware, with the most the same, available well known in the art under
Any one or their combination in row technology realize: have the logic gates for data signal realizes logic function
Discrete logic, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), on-the-spot
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Storage medium mentioned above can be read only memory, disk or CD etc..Although having shown that above and retouching
State embodiments herein, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the application
System, above-described embodiment can be changed, revise, replace and become in scope of the present application by those of ordinary skill in the art
Type.
Claims (10)
1. a vehicle data acquisition methods, it is characterised in that comprise the following steps:
Send random number to target electronic control unit and obtain request;
Receive the random number that described target electronic control unit returns;
Use the algorithm preset, described random number and the control factor corresponding with described target electronic control unit are transported
Calculate, determine first key corresponding with described target electronic control unit;
Described first key is sent to target electronic control unit, so that described target electronic control unit determines described first
After key is legal, it is allowed to the data in described target electronic control unit are written and read operation.
2. the method for claim 1, it is characterised in that described employing preset algorithm, to described random number and with institute
State before control factor corresponding to target electronic control unit carry out computing, also include:
Obtain the control factor corresponding with described target electronic control unit.
3. a vehicle data acquisition methods, it is characterised in that comprise the following steps:
Receive the random number acquisition request that diagnostic apparatus sends;
The random number of stochastic generation is returned to described diagnostic apparatus;
Use the algorithm preset, described random number and locally stored control factor are carried out computing, determines the second key;
Receive the first key that described diagnostic apparatus sends;
Judge whether described first key mates with described second key;
If coupling, then allow described diagnostic apparatus that local data is written and read operation.
4. method as claimed in claim 3, it is characterised in that described judge whether are described first key and described second key
After coupling, also include:
If not mating, then refuse the described diagnostic apparatus read-write operation to local data.
5. a vehicle data acquisition device, it is characterised in that including:
First sending module, obtains request for sending random number to target electronic control unit;
First receiver module, for receiving the random number that described target electronic control unit returns;
First processing module, for using default algorithm, to described random number and corresponding with described target electronic control unit
Control factor carry out computing, determine first key corresponding with described target electronic control unit;
Second sending module, for described first key is sent to target electronic control unit, so that described target electronic control
After unit processed determines that described first key is legal, it is allowed to the data in described target electronic control unit are written and read operation.
6. device as claimed in claim 5, it is characterised in that also include:
Acquisition module, for obtaining the control factor corresponding with described target electronic control unit.
7. a vehicle data acquisition device, it is characterised in that including:
Second receiver module, the random number sent for receiving diagnostic apparatus obtains request;
Return module, for returning the random number of stochastic generation to described diagnostic apparatus;
Second processing module, for using default algorithm, carries out computing to described random number and locally stored control factor,
Determine the second key;
3rd receiver module, for receiving the first key that described diagnostic apparatus sends;
Judge module, is used for judging whether described first key mates with described second key;
3rd processing module, if for the first key and the second cipher key match, then allowing described diagnostic apparatus to carry out local data
Read-write operation.
8. device as claimed in claim 7, it is characterised in that also include:
Fourth processing module, if not mating for the first key and the second key, then refuses described diagnostic apparatus to local data
Read-write operation.
9. a diagnostic apparatus, it is characterised in that include as arbitrary in claim 5 or 6 as described in vehicle data acquisition device.
10. an electronic control unit, it is characterised in that include as arbitrary in claim 7 or 8 as described in vehicle data obtain dress
Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610616065.8A CN106155043A (en) | 2016-07-28 | 2016-07-28 | Vehicle data acquisition methods, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610616065.8A CN106155043A (en) | 2016-07-28 | 2016-07-28 | Vehicle data acquisition methods, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106155043A true CN106155043A (en) | 2016-11-23 |
Family
ID=57327725
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610616065.8A Pending CN106155043A (en) | 2016-07-28 | 2016-07-28 | Vehicle data acquisition methods, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155043A (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453864A (en) * | 2017-07-04 | 2017-12-08 | 奇瑞汽车股份有限公司 | A kind of safe verification method and system |
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 | 北京新能源汽车股份有限公司 | A kind of wiring method and equipment of key |
CN109286500A (en) * | 2018-09-30 | 2019-01-29 | 百度在线网络技术(北京)有限公司 | Vehicle Electronic Control Unit ECU authentication method, device and equipment |
CN109462607A (en) * | 2018-12-20 | 2019-03-12 | 重庆圣眸科技开发有限公司 | A kind of safe UDS diagnoses the implementation method on CAN |
CN109714171A (en) * | 2018-12-27 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Safety protecting method, device, equipment and medium |
CN109849937A (en) * | 2019-03-26 | 2019-06-07 | 深圳市元征科技股份有限公司 | A kind of vehicle device accumulator charging control method and relevant device |
CN113821534A (en) * | 2020-06-19 | 2021-12-21 | 北京新能源汽车股份有限公司 | Vehicle information query method and device and diagnostic instrument |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166087A (en) * | 2007-09-30 | 2008-04-23 | 奇瑞汽车有限公司 | A secure validation method for car diagnosis communication |
KR20160020866A (en) * | 2014-08-14 | 2016-02-24 | 현대오토에버 주식회사 | Method and system for providing service encryption in closed type network |
CN103529823B (en) * | 2013-10-17 | 2016-04-06 | 北奔重型汽车集团有限公司 | A kind of safety access control method for automotive diagnostic system |
CN105490803A (en) * | 2014-10-07 | 2016-04-13 | 通用汽车环球科技运作有限责任公司 | Distributing secret keys for managing access to ECUs |
US20160132296A1 (en) * | 2014-11-11 | 2016-05-12 | Electronics And Telecommunications Research Institute | Apparatus and method for generating digital value |
-
2016
- 2016-07-28 CN CN201610616065.8A patent/CN106155043A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101166087A (en) * | 2007-09-30 | 2008-04-23 | 奇瑞汽车有限公司 | A secure validation method for car diagnosis communication |
CN103529823B (en) * | 2013-10-17 | 2016-04-06 | 北奔重型汽车集团有限公司 | A kind of safety access control method for automotive diagnostic system |
KR20160020866A (en) * | 2014-08-14 | 2016-02-24 | 현대오토에버 주식회사 | Method and system for providing service encryption in closed type network |
CN105490803A (en) * | 2014-10-07 | 2016-04-13 | 通用汽车环球科技运作有限责任公司 | Distributing secret keys for managing access to ECUs |
US20160132296A1 (en) * | 2014-11-11 | 2016-05-12 | Electronics And Telecommunications Research Institute | Apparatus and method for generating digital value |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107453864A (en) * | 2017-07-04 | 2017-12-08 | 奇瑞汽车股份有限公司 | A kind of safe verification method and system |
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 | 北京新能源汽车股份有限公司 | A kind of wiring method and equipment of key |
CN109150514B (en) * | 2018-08-30 | 2021-05-28 | 北京新能源汽车股份有限公司 | Key writing method and device |
CN109286500A (en) * | 2018-09-30 | 2019-01-29 | 百度在线网络技术(北京)有限公司 | Vehicle Electronic Control Unit ECU authentication method, device and equipment |
CN109462607A (en) * | 2018-12-20 | 2019-03-12 | 重庆圣眸科技开发有限公司 | A kind of safe UDS diagnoses the implementation method on CAN |
CN109462607B (en) * | 2018-12-20 | 2021-06-01 | 重庆圣眸科技开发有限公司 | Method for implementing safe UDS diagnosis on CAN |
CN109714171A (en) * | 2018-12-27 | 2019-05-03 | 百度在线网络技术(北京)有限公司 | Safety protecting method, device, equipment and medium |
CN109714171B (en) * | 2018-12-27 | 2022-09-23 | 阿波罗智联(北京)科技有限公司 | Safety protection method, device, equipment and medium |
CN109849937A (en) * | 2019-03-26 | 2019-06-07 | 深圳市元征科技股份有限公司 | A kind of vehicle device accumulator charging control method and relevant device |
CN113821534A (en) * | 2020-06-19 | 2021-12-21 | 北京新能源汽车股份有限公司 | Vehicle information query method and device and diagnostic instrument |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106155043A (en) | Vehicle data acquisition methods, device and equipment | |
CN107251491B (en) | Evaluation device, evaluation system, and evaluation method | |
CN104773120B (en) | In-vehicle device and its control method for efficiently reprograming | |
DE10008973B4 (en) | Authorization procedure with certificate | |
US10491392B2 (en) | End-to-end vehicle secure ECU unlock in a semi-offline environment | |
CN106658493A (en) | Key management method, device and system | |
US9992178B2 (en) | Method, apparatus and system for dynamically controlling secure vehicle communication based on ignition | |
CN109391466A (en) | Safety access method, the apparatus and system of vehicle electronic control unit | |
EP1582961A1 (en) | Controlling data access to electronic control units in vehicles | |
CN106059754A (en) | Vehicle data processing method and system, and devices | |
CN107689870A (en) | Client method for authenticating and system | |
CN108650220B (en) | Method and equipment for issuing and acquiring mobile terminal certificate and automobile end chip certificate | |
CN108989024A (en) | Control method, apparatus, equipment, storage medium and the corresponding vehicle communicated between electronic control unit in the car | |
Van den Herrewegen et al. | Beneath the bonnet: A breakdown of diagnostic security | |
DE102013108020A1 (en) | Authentication scheme for activating a special privilege mode in a secure electronic control unit | |
EP2332284A2 (en) | Releasing a service on an electronic appliance | |
CN103370713B (en) | For the method programming mobile terminal device chip | |
CN112652089A (en) | Diagnostic method, vehicle, system, and storage medium | |
CN107911352A (en) | A kind of authorization method of cloud mobile phone | |
CN106548059A (en) | The method of teacher, head of a family's mobile terminal and head of a family's authentication | |
US11935341B2 (en) | Data storage device and non-transitory tangible computer readable storage medium | |
CN115088232A (en) | Data encryption method, data transmission method, related device and equipment | |
CN108713199B (en) | Authority management method and system, mobile terminal, shared charging equipment and server | |
CN106790304A (en) | Data access method, device, node and server cluster | |
KR102272928B1 (en) | Operating method for machine learning model using encrypted data and apparatus based on machine learning model |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161123 |