Summary of the invention
In view of this, the invention provides KPD authentication method, vehicle base station and the system of a kind of vehicle and Intelligent key, more loaded down with trivial details in order to the KPD verification process that solves vehicle of the prior art and Intelligent key, consuming time longer, and, increased the problem that occurs the possibility of destabilizing factor in vehicle base station and Intelligent key communication process, its technical scheme is as follows:
The KPD authentication method of a kind of vehicle and Intelligent key, vehicle base station arrange timer, and described method comprises:
The authentication information that sends scrambled by low frequency to Intelligent key to be initiating authentication, and starts described timer;
When the time of described timer arrives setting-up time, send low frequency carrier signal by low frequency to described Intelligent key and authenticate with launch position;
Receive the authentication result that described Intelligent key sends by high frequency, described authentication result comprises: described Intelligent key is decrypted to described authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring described low frequency carrier signal;
According to described identity authentication result and described measurement result judge the identity of described Intelligent key and the position whether all legal, when the identity of described Intelligent key and position are all legal, carry out associative operation.
Preferably, described timer is the timer of 1~20ms.
Wherein, described authentication information comprises: Intelligent key ID, random array, the first ciphertext and CRC check byte, described the first ciphertext generates by initial data being utilized the first cryptographic algorithm encrypt, and described initial data comprises: Intelligent key ID, Intelligent key key, random array and password.
Wherein, described Intelligent key is decrypted to described authentication information the process that obtains identity authentication result of decoding and comprises: whether the data that receive by the judgement of the CRC check byte in described authentication information are effective, if the data that receive are effective, the first ciphertext in authentication information is decrypted by the first decipherment algorithm corresponding with described the first cryptographic algorithm, obtain data decryption, utilizing the second cryptographic algorithm to encrypt data decryption generates the second ciphertext, generates the identity authentication result that comprises CRC check byte and the second ciphertext.
Wherein, judge according to described identity authentication result whether legal process comprises for the identity of described Intelligent key:
Whether the data that receive by the judgement of the CRC check byte in described identity authentication result are effective, if the data that receive are effective, be decrypted by the second decipherment algorithm corresponding with the second cryptographic algorithm, obtain data decryption, data decryption and initial data are compared, if data decryption is consistent with initial data, the Intelligent key identity is legal.
Wherein, judge according to described measurement result whether legal process comprises for the position of described Intelligent key:
Determine the distance of described Intelligent key and vehicle antenna for base station according to described measurement result, judge described distance whether in preset range, if described distance in preset range, the position of described Intelligent key is legal.
A kind of vehicle base station, described vehicle base station are provided with timer, and described vehicle base station comprises: the first transmitting element, start unit, the first judging unit, the second transmitting element, receiving element, the second judging unit and performance element;
Described the first transmitting element is used for sending the authentication information of scrambled to initiate authentication by low frequency to Intelligent key;
Described start unit is used for starting when described Intelligent key sends authentication information at described the first transmitting element described timer;
Described the first judging unit is used for judging whether the time of described timer arrives setting-up time;
Described the second transmitting element is used for sending low frequency carrier signal by low frequency to described Intelligent key and authenticating with launch position when the time of described timer arrives setting-up time;
Described receiving element, be used for receiving the authentication result that described Intelligent key sends by high frequency, described authentication result comprises: described Intelligent key is decrypted to described authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring described low frequency carrier signal;
Described the second judging unit, be used for according to described identity authentication result and described measurement result judge the identity of described Intelligent key and the position whether all legal;
Described performance element is used for when the identity of described Intelligent key and position are all legal the execution associative operation.
Wherein, described authentication information comprises: Intelligent key ID, random array, the first ciphertext and CRC check byte, described the first ciphertext generates by initial data being utilized the first cryptographic algorithm encrypt, and described initial data comprises: Intelligent key ID, Intelligent key key, random array and password.
Preferably, described timer is the timer of 1~20ms.
The KPD Verification System of a kind of vehicle and Intelligent key comprises: vehicle base station and Intelligent key;
Described vehicle base station, be used for sending the authentication information of scrambled by low frequency to described Intelligent key, and start described timer, when the time of described timer arrives setting-up time, send low frequency carrier signal by low frequency to described Intelligent key and authenticate with launch position;
Described Intelligent key, be used for that described authentication information is decrypted decoding and obtain identity authentication result, and, the field intensity of measuring described low frequency carrier signal obtains measurement result, described identity authentication result and measurement result are sent to described vehicle base station by high frequency, so that associative operation when all legal in the identity of judging described Intelligent key according to described identity authentication result and described measurement result and position, is carried out in described vehicle base station.
Have following beneficial effect in technique scheme:
In the KPD authentication method of vehicle provided by the invention and Intelligent key, vehicle base station and system, in the vehicle base station, timer is set, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.Compare with KPD authentication method of the prior art, the present invention has reduced by a high frequency communication process, and the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, the very big like this authenticated time that shortens KPD, reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
Embodiment
For quote and know for the purpose of, the explanation of the technical term that hereinafter uses, write a Chinese character in simplified form or abridge and be summarized as follows:
PEPS:Passive entry﹠amp; Push start systems enters without key and the startup system
KPD:Key Position Detection key position detects
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
The embodiment of the present invention one provides the KPD authentication method of a kind of vehicle and Intelligent key, and corresponding with Intelligent key vehicle base station is provided with timer, and Fig. 1 shows the schematic flow sheet of the method, and the method can comprise:
S101: send the authentication information of scrambled by low frequency to Intelligent key, and start timer.
S102: whether the time that judges timer arrives setting-up time, when the time of timer arrives setting-up time, changes step S103 over to; Otherwise, do not carry out any operation.
S103: send low frequency carrier signal to authenticate to the Intelligent key launch position to Intelligent key by low frequency.
S104: receive the authentication result that Intelligent key sends by high frequency, wherein, authentication result comprises: Intelligent key is decrypted to authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring low frequency carrier signal.
S105: according to identity authentication result and measurement result judge the identity of Intelligent key and the position whether all legal, when the identity of Intelligent key and position are all legal, execution in step S106; Otherwise, do not carry out any operation.
S106: carry out associative operation, such as: solution locks door, starts vehicle etc.
In the KPD authentication method of the vehicle that the embodiment of the present invention one provides and Intelligent key, the vehicle base station is provided with timer, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.Compare with KPD authentication method of the prior art, the embodiment of the present invention has reduced by a high frequency communication process, and, the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, and the very big like this authenticated time that shortens KPD has reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
Embodiment two
The embodiment of the present invention two provides the KPD authentication method of a kind of vehicle and Intelligent key, and corresponding with Intelligent key vehicle base station is provided with timer, and Fig. 2 shows the schematic flow sheet of the method, and the method can comprise:
S201: send the authentication information of scrambled by low frequency to Intelligent key, and start timer.
Wherein, the vehicle base station can comprise to the authentication information that Intelligent key sends by low frequency: heading, the first data and message trailer.The first data comprise: Intelligent key ID, random array, the first ciphertext and CRC check byte.The first ciphertext is that the vehicle base station generates by initial data being utilized the first cryptographic algorithm encrypt, and wherein, initial data comprises: Intelligent key ID, Intelligent key key SK, random array and password.
S202: whether the time that judges timer arrives setting-up time, when the time of timer arrives setting-up time, changes step S203 over to; Otherwise, do not carry out any operation.
Wherein, the timer in the present embodiment is preferably the timer of 2ms, and namely the setting-up time in step S102 can be 2ms.The present embodiment does not limit setting-up time can 2ms, and setting-up time can be set as the case may be.
S203: send low frequency carrier signal to authenticate to the Intelligent key launch position to Intelligent key by low frequency.
Wherein, the low frequency carrier signal in the present embodiment can be sine wave.
S204: receive the authentication result that Intelligent key sends by high frequency, wherein, authentication result comprises: Intelligent key is decrypted to authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring low frequency carrier signal.
wherein, after Intelligent key receives authentication information, whether the data that receive by the judgement of CRC check byte are effective, if the data that receive are effective, the first ciphertext in the first data in authentication information is decrypted by the first decipherment algorithm corresponding with the first cryptographic algorithm, obtain deciphering logarithmic data, be Intelligent key ID, the Intelligent key key SK, random array and password, then data decryption is utilized the second cryptographic algorithm to encrypt and generate the second ciphertext, again identity authentication result is sent to the vehicle base station by high frequency, wherein, identity authentication result comprises: heading, the second data and message trailer, the second data comprise: Intelligent key ID, random array, the second ciphertext and CRC check byte.
S205: according to identity authentication result and measurement result judge the identity of Intelligent key and the position whether all legal, when the identity of Intelligent key and position are all legal, execution in step S206; Otherwise, do not carry out any operation.
After the vehicle base station receives identity authentication result, whether the data that receive by the judgement of the CRC check byte in identity authentication result are effective, if the data that receive are effective, be decrypted by the second decipherment algorithm corresponding with the second cryptographic algorithm, obtain data decryption, data decryption and initial data are compared, if data decryption is consistent with initial data, the Intelligent key identity is legal.
After the vehicle base station receives the measurement result of field intensity of low frequency carrier signal, determine the distance of Intelligent key and vehicle antenna for base station according to measurement result, if distance shows that the position of Intelligent key is legal in preset range.Wherein, preset range can but be not defined as the scope of the circumference n rice take certain car door as the center of circle.
Need to prove, the high frequency communication time is generally at 20~60ms, and in order to save authenticated time, in the present embodiment, the setting-up time of timer is less than 20ms.
S206: carry out associative operation, such as: solution locks door, starts vehicle etc.
In the KPD authentication method of the vehicle that the embodiment of the present invention two provides and Intelligent key, the vehicle base station is provided with timer, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.Compare with KPD authentication method of the prior art, the embodiment of the present invention has reduced by a high frequency communication process, and the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, the very big like this authenticated time that shortens KPD, reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
Embodiment three
The embodiment of the present invention three provides a kind of vehicle base station, this vehicle base station is provided with timer, Fig. 3 shows the structural representation of this vehicle base station, and this vehicle base station can comprise: the first transmitting element 101, start unit 102, the first judging unit 103, the second transmitting element 104, receiving element 105, the second judging unit 106 and performance element 107.Wherein:
The first transmitting element 101 is used for sending the authentication information of scrambled to initiate authentication by low frequency to Intelligent key.
Start unit 102 is used for starting when Intelligent key sends authentication information at the first transmitting element 101 timer.
The first judging unit 103 is used for judging whether the time of timer arrives setting-up time.
The second transmitting element 104 is used for sending low frequency carrier signal by low frequency to Intelligent key and authenticating with launch position when the time of timer arrives setting-up time.
Receiving element 105 is used for receiving the authentication result that Intelligent key sends by high frequency, and authentication result comprises: Intelligent key is decrypted to authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring low frequency carrier signal.
The second judging unit 106, be used for according to identity authentication result and measurement result judge the identity of Intelligent key and the position whether all legal.
Performance element 107 is used for when the identity of Intelligent key and position are all legal the execution associative operation.
The embodiment of the present invention three provides vehicle base station is provided with timer, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.With compare in prior art, the embodiment of the present invention three provides vehicle base station makes the KPD verification process reduce by a high frequency communication process, and the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, the very big like this authenticated time that shortens KPD, reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
Embodiment four
The embodiment of the present invention four provides a kind of vehicle base station, this vehicle base station is provided with timer, Fig. 4 shows the structural representation of this vehicle base station, and this vehicle base station can comprise: the first transmitting element 201, start unit 202, the first judging unit 203, the second transmitting element 204, receiving element 205, the second judging unit 206 and performance element 207.Wherein:
The first transmitting element 201 is used for sending the authentication information of scrambled to initiate authentication by low frequency to Intelligent key.Further, the first transmitting element 201 comprises: encrypt subelement 2011 and send subelement 2012, wherein, encrypt subelement 2011, be used for utilizing the first cryptographic algorithm to encrypt initial data and generate the first ciphertext, send subelement 2012, be used for to comprise that the authentication information of the first ciphertext sends to Intelligent key, authentication information also comprises Intelligent key ID, random array and CRC check byte except comprising the first ciphertext.
Start unit 202 is used for starting when Intelligent key sends authentication information at the first transmitting element 201 timer.
The first judging unit 203 is used for judging whether the time of timer arrives setting-up time.
The second transmitting element 204 is used for sending low frequency carrier signal by low frequency to Intelligent key and authenticating with launch position when the time of timer arrives setting-up time.Wherein, the setting-up time of timer is preferably 2ms less than 20ms.
after Intelligent key receives authentication information, whether the data that receive by the judgement of CRC check byte are effective, if the data that receive are effective, the first ciphertext in the first data in authentication information is decrypted by the first decipherment algorithm corresponding with the first cryptographic algorithm, obtain deciphering logarithmic data, be Intelligent key ID, the Intelligent key key SK, random array and password, then data decryption is utilized the second cryptographic algorithm to encrypt and generate the second ciphertext, again identity authentication result is sent to the vehicle base station by high frequency, wherein, identity authentication result comprises: heading, the second data and message trailer, the second data comprise: Intelligent key ID, random array, the second ciphertext and CRC check byte.
Receiving element 205 is used for receiving the authentication result that Intelligent key sends by high frequency, and authentication result comprises: Intelligent key is decrypted to authentication information the identity authentication result that decoding obtains, and the resulting measurement result of field intensity of measuring low frequency carrier signal.
The second judging unit 206, be used for according to identity authentication result and measurement result judge the identity of Intelligent key and the position whether all legal.Further, the second judging unit 206 comprises: the first judgment sub-unit 2061, the deciphering subelement 2062, the second judgment sub-unit 2063, determine subelement 2064 and the 3rd judgment sub-unit 2065.The first judgment sub-unit 2061, be used for judging that the CRC check byte of identity authentication result judges whether the data that receive are effective, deciphering subelement 2062, be used for when the data that receive are effective, be decrypted by the second decipherment algorithm corresponding with the second cryptographic algorithm, obtain data decryption, the second judgment sub-unit 2063, be used for judge whether data decryption is consistent with initial data, if unanimously show that the identity of Intelligent key is legal.Determine subelement 2064, be used for determining according to measurement result the distance of Intelligent key and vehicle antenna for base station; The 3rd judgment sub-unit 2065, if whether the distance that is used for judging Intelligent key and vehicle antenna for base station in preset range, shows the position of Intelligent key legal in preset range, wherein, preset range can be the scope of the circumference n rice take certain car door as the center of circle.
Performance element 207 is used for when the identity of Intelligent key and position are all legal the execution associative operation.
The embodiment of the present invention four provides vehicle base station is provided with timer, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.With compare in prior art, the present embodiment provides vehicle base station makes the KPD verification process reduce by a high frequency communication process, and the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, the very big like this authenticated time that shortens KPD, reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
Embodiment five
The embodiment of the present invention five provides the KPD Verification System of a kind of vehicle and Intelligent key, and Fig. 5 shows the structural representation of this system, and this system can comprise: vehicle base station 1 and Intelligent key 2.
The system that Fig. 6 shows the embodiment of the present invention five to be provided realizes the process of KPD authentication:
Vehicle base station 1 sends the authentication information of scrambled by low frequency to Intelligent key 2, and starts timer, when the time of timer arrives setting-up time, sends low frequency carrier signal by low frequency to Intelligent key 2 and authenticates with launch position.
Intelligent key 2 is when receiving authentication information, authentication information is decrypted decoding obtains identity authentication result, and, when receiving low frequency carrier signal, the field intensity of measuring low frequency carrier signal obtains measurement result, and identity authentication result and measurement result are sent to vehicle base station 1 by high frequency.
Vehicle base station 1 according to identity authentication result and measurement result judge the identity of Intelligent key 2 and the position whether all legal, when the identity of Intelligent key 2 and position are all legal, carry out associative operation.
The KPD Verification System of the vehicle that the embodiment of the present invention five provides and Intelligent key, in the vehicle base station, timer is set, when the vehicle base station sends authentication information by low frequency to Intelligent key, start timer, when the time of timer arrives setting-up time, the vehicle base station sends the authentication of low frequency carrier signal launch position by low frequency to Intelligent key, and need not be as prior art, the vehicle base station just sends the authentication of low frequency carrier signal launch position to Intelligent key after receiving the identity authentication result that Intelligent key sends by high frequency.With compare in prior art, the system that the embodiment of the present invention provides makes the KPD verification process reduce by a high frequency communication process, and the vehicle base station is placed on a process to the judgement of identity authentication result and measurement result, the very big like this authenticated time that shortens KPD, reduced the possibility that occurs destabilizing factor in the communication process, and, easier in setting-up time authentication success, realize that fast solution locks door, starts the operations such as vehicle, has strengthened the practicality of PEPS.
For the convenience of describing, be divided into various unit with function when describing above device and describe respectively.Certainly, can realize the function of each unit in same or a plurality of softwares and/or hardware when enforcement is of the present invention.
As seen through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this specification all adopts the mode of going forward one by one to describe, and between each embodiment, identical similar part is mutually referring to getting final product, and each embodiment stresses is difference with other embodiment.Especially, for system embodiment, substantially similar in appearance to embodiment of the method, so describe fairly simplely, relevant part gets final product referring to the part explanation of embodiment of the method due to it.System embodiment described above is only schematic, wherein said unit as the separating component explanation can or can not be also physically to separate, the parts that show as the unit can be or can not be also physical locations, namely can be positioned at a place, perhaps also can be distributed on a plurality of network element.Can select according to the actual needs wherein some or all of module to realize the purpose of the present embodiment scheme.Those of ordinary skills namely can understand and implement in the situation that do not pay creative work.
The present invention can be used in numerous general or special purpose computingasystem environment or configuration.For example: personal computer, server computer, handheld device or portable set, plate equipment, multicomputer system, the system based on microprocessor, set top box, programmable consumer-elcetronics devices, network PC, minicom, mainframe computer, comprise distributed computing environment (DCE) of above any system or equipment etc.
The present invention can describe in the general context of the computer executable instructions of being carried out by computer, for example program module.Usually, program module comprises the routine carrying out particular task or realize particular abstract data type, program, object, assembly, data structure etc.Also can put into practice the present invention in distributed computing environment (DCE), in these distributed computing environment (DCE), be executed the task by the teleprocessing equipment that is connected by communication network.In distributed computing environment (DCE), program module can be arranged in the local and remote computer-readable storage medium that comprises memory device.
Need to prove, in this article, relational terms such as the first and second grades only is used for an entity or operation are separated with another entity or operating space, and not necessarily requires or hint and have the relation of any this reality or sequentially between these entities or operation.
To the above-mentioned explanation of the disclosed embodiments, make this area professional and technical personnel can realize or use the present invention.Multiple modification to these embodiment will be apparent concerning those skilled in the art, and General Principle as defined herein can be in the situation that do not break away from the spirit or scope of the present invention, realization in other embodiments.Therefore, the present invention will can not be restricted to these embodiment shown in this article, but will meet the widest scope consistent with principle disclosed herein and features of novelty.