CN111629353A - Method and system for communication between vehicle and NFC mobile device and external NFC module - Google Patents
Method and system for communication between vehicle and NFC mobile device and external NFC module Download PDFInfo
- Publication number
- CN111629353A CN111629353A CN202010741377.8A CN202010741377A CN111629353A CN 111629353 A CN111629353 A CN 111629353A CN 202010741377 A CN202010741377 A CN 202010741377A CN 111629353 A CN111629353 A CN 111629353A
- Authority
- CN
- China
- Prior art keywords
- nfc
- vehicle
- authentication
- card
- mobile device
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention relates to a method and a system for communication between a vehicle and NFC mobile equipment, and an external NFC module, wherein the external NFC mobile equipment is provided with an NFC card; secondly, two authentication modes of fast authentication and binding authentication are set, the fast authentication is adopted by default, the binding authentication is carried out under the condition that the fast authentication fails, the card swiping speed can be improved by adopting the fast authentication for the current NFC card which is authenticated in advance, the authentication fails when the fast authentication is adopted for the current NFC card which is authenticated for the first time, and the binding authentication is carried out instead, namely the first authentication. The system and the off-board NFC module are carriers for implementing the method.
Description
Technical Field
The invention relates to the technical field of vehicle electronic equipment, in particular to a method and a system for communication between a vehicle and an NFC mobile device and an external NFC module.
Background
At present, the intelligent and digital technology of the automobile is developed rapidly, the automobile key is the first place to come, and a user can conveniently use the automobile only by placing an NFC card key in a wallet in the future. The NFC card in the current market has the following technical problems: the first is that the card swiping speed is slow, and the second is that the whole vehicle network can be easily awakened by mistake to cause feeding.
Disclosure of Invention
The invention aims to provide a method and a system for communication between a vehicle and an NFC mobile device and an external NFC module, so as to solve the technical problems that the card swiping speed is low and the whole vehicle network is likely to be awakened by mistake to cause feeding when the existing NFC card is in vehicle communication.
In order to achieve the above object, an embodiment of the present invention provides a method for a vehicle to communicate with an NFC mobile device, where the NFC mobile device is provided with an NFC card, and the method includes:
when the NFC module outside the automobile monitors that the NFC card enters the monitoring range of the NFC card, the NFC module outside the automobile sends a matching request to the NFC card;
the NFC module outside the vehicle receives the NFCID of the NFC label sent by the NFC card and judges whether the NFC card is legal or not according to the NFCID; the NFCID is response information sent by the NFC card responding to the matching request;
if the NFC clamping method is adopted, the external NFC module sends an authentication request to the internal security chip;
the NFC module outside the vehicle receives a random number Rnd sent by the safety chip inside the vehicle and sends the Rnd to the NFC card; the Rnd is response information sent by the in-vehicle safety chip responding to the authentication request;
the NFC module outside the vehicle generates a rapid authentication instruction and respectively sends the rapid authentication instruction to the security chip inside the vehicle and the NFC card; the rapid authentication instruction is used for performing rapid authentication between the in-vehicle security chip and the NFC card according to the NFCID and the Rnd;
if the fast authentication is passed, the vehicle and the NFC mobile equipment are in communication connection, and if the fast authentication is failed, the external NFC module generates a binding authentication instruction and sends the binding authentication instruction to the in-vehicle security chip and the NFC card respectively; the binding authentication instruction is used for binding authentication between the in-vehicle security chip and the NFC card according to the user information NFCINFO and the Rnd of the NFC card; and if the binding authentication passes, the vehicle and the NFC mobile device establish communication connection.
Optionally, the performing fast authentication includes:
the NFC module outside the vehicle receives first signature information eDF1, an NFC label NFCID and encryption information eRnd sent by the NFC card, and sends eDF1, the NFCID and the eRnd to a security chip inside the vehicle for verification; the eDF1 is signature information generated by the NFC card according to the NFCID, and the errnd is encryption information obtained by encrypting the Rnd by the NFC card according to a preset encryption mode;
and the external NFC module receives a verification result sent by the internal security chip, and if the verification result is that the quick authentication passes, the vehicle and the NFC mobile device establish communication connection.
Optionally, the generating process of the verification result of the fast authentication sent by the in-vehicle security chip specifically includes:
the safety chip in the vehicle carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset encryption mode to obtain a random number Rnd 0;
if the signature of eDF1 is the NFCID and the Rnd0 is consistent with the Rnd, the verification result is that the fast authentication passes, otherwise, the verification result is that the fast authentication fails.
Optionally, the performing binding authentication includes:
the NFC module outside the vehicle receives second signature information eDF2, NFC card user information NFCINFO and encryption information eRnd sent by the NFC card, and sends eDF2, NFCINFO and eRnd to the security chip inside the vehicle for verification; the eDF2 is signature information generated by the NFC card according to the NFCINFO, and the edrn is encryption information obtained by encrypting the Rnd by the NFC card according to a preset encryption mode;
the NFC module outside the vehicle receives a verification result sent by the safety chip inside the vehicle, and if the verification result is that the binding authentication passes, the vehicle and the NFC mobile device establish communication connection; and when the binding authentication passes, the in-vehicle security chip stores the NFCINFO and the NFCID.
Optionally, the generating process of the check result of the binding authentication sent by the in-vehicle security chip specifically includes:
the safety chip in the vehicle carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset encryption mode to obtain Rnd 0;
and if the signature of the eDF1 is the NFCINFO and the Rnd0 is consistent with the Rnd, the verification result is that the binding authentication is passed, otherwise, the verification result is that the binding authentication is failed.
Optionally, the NFC card is an NFC physical card or an NFC virtual card.
Optionally, when the NFC card is an NFC virtual card, the method further includes:
the external NFC module sends the quick authentication or the check result that the binding authentication passes to the NFC card so that the mobile device where the NFC card is located can display the successful connection.
Optionally, the method further comprises:
when the vehicle is in communication connection with the NFC mobile device, the in-vehicle safety chip sends a vehicle unlocking request to the in-vehicle Bluetooth module; the vehicle unlocking and locking request is used for controlling a vehicle executing mechanism to execute unlocking and locking operation on the vehicle through the in-vehicle Bluetooth module.
To achieve the above object, an embodiment of the present invention further provides an off-board NFC module, which is disposed on or near a vehicle body of a vehicle, and includes a memory and a processor, where the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to execute the steps of the method for communicating the vehicle with an NFC mobile device according to the above embodiment.
In order to achieve the above object, an embodiment of the present invention further provides a system for communication between a vehicle and an NFC mobile device, where the NFC mobile device includes an NFC card, the system is disposed on the vehicle, and includes an off-vehicle NFC module, an in-vehicle security chip, and an in-vehicle bluetooth module, the in-vehicle security chip is connected to the in-vehicle bluetooth module through an SPI bus, the off-vehicle NFC module is connected to the in-vehicle bluetooth module through a CAN bus, and the system is configured to execute the steps of the method for communication between the vehicle and the NFC mobile device according to the above embodiment.
The embodiment of the invention provides a method and a system for communication between a vehicle and an NFC mobile device, and an NFC module outside the vehicle, wherein an in-vehicle security chip and the NFC module outside the vehicle are arranged at a vehicle end, when the vehicle is connected with an NFC card, the NFC card is matched by the NFC module outside the vehicle at first, whether the NFC card is the card which is matched before is judged, and the CAN bus of the whole vehicle does not need to be awakened at the moment, so that the feed of the whole vehicle caused by awakening the CAN bus of the whole vehicle by other NFC cards which are not used for unlocking the vehicle is avoided; secondly, two authentication modes of fast authentication and binding authentication are set, the fast authentication is adopted by default, the binding authentication is carried out under the condition that the fast authentication fails, the authentication process of the fast authentication is simpler and the speed is higher compared with the binding authentication, for the NFC card which is authenticated in advance, the card swiping speed can be improved by adopting the fast authentication, for the NFC card which is authenticated for the first time, the authentication fails when the fast authentication is adopted, and then the binding authentication is carried out, namely the first authentication. Based on the above contents, the embodiment of the invention can solve the technical problems that the card swiping speed is slow and the entire vehicle network may be easily awakened by mistake to cause feeding when the NFC card communicates in the vehicle at present.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for a vehicle to communicate with an NFC mobile device according to an embodiment of the present invention.
Fig. 2 is a detailed flowchart of a method for a vehicle to communicate with an NFC mobile device according to an embodiment of the present invention.
Fig. 3 is a block diagram of a system for communicating a vehicle with an NFC mobile device according to another embodiment of the present invention.
Detailed Description
Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. In the drawings, like reference numbers can indicate functionally identical or similar elements. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
In addition, in the following detailed description, numerous specific details are set forth in order to provide a better understanding of the present invention. It will be understood by those skilled in the art that the present invention may be practiced without some of these specific details. In some instances, well known means have not been described in detail so as not to obscure the present invention.
Referring to fig. 1, an embodiment of the present invention provides a method for a vehicle to communicate with an NFC mobile device, where the NFC mobile device is provided with an NFC card, and the method includes the following steps S1 to S6:
step S1, when the NFC module outside the automobile monitors that the NFC card enters the monitoring range of the NFC card, the NFC module outside the automobile sends a matching request to the current NFC card;
particularly, the NFC module outside the car is preferred to be set up on the automobile body to in the present NFC card around the monitoring vehicle, the NFC module outside the car adopts the radio frequency monitoring mode in this embodiment. In the application process, when a user carries a mobile device provided with a current NFC card to enter a monitoring range of an external NFC module, the external NFC module monitors RF field intensity change to generate a matching request, and the matching request is sent to the monitored corresponding current NFC card to request to acquire related information of the current NFC card so as to perform subsequent matching operation.
The mobile device can be an intelligent mobile terminal such as a mobile phone and a bracelet.
Preferably, the NFC module development LPDC mode outside the car (Low power external card detect mode) is about to be Low power consumption module outside the car, can make the NFC module outside the car monitor the card under the prerequisite that keeps the Low-power consumption and be close to, and the NFC module outside the car gets into the LPCD mode after electrifying, waits for the card, and the NFC module outside the car activates after monitoring RF field intensity change, sends the matching request to current NFC card.
Step S2, the NFC module outside the vehicle receives the NFCID of the NFC label sent by the current NFC card, and judges whether the current NFC card is legal or not according to the NFCID; the NFCID is response information sent by the current NFC card responding to the matching request;
specifically, after receiving a matching request of the off-board NFC module, the current NFC card sends its own NFCID to the off-board NFC module in response to the matching request. And the external NFC module is matched with a preset matching rule according to the NFCID returned by the current NFC card, and judges whether the external NFC module is legal or not. It should be noted that the valid current NFC card refers to a current NFC card that allows security authentication with the vehicle, for example, the current NFC card and the vehicle are the same manufacturer, which may or may not have been authenticated. For valid current NFC cards, for example, all current NFC cards authorized by a certain car manufacturer, the NFCIDs of all current NFC cards may include, for example, the same partial code, for example, "NFCID = SSS2+ unique code", SSS2 is used to identify a current NFC card authorized by a certain car manufacturer, and the unique code is used to distinguish different current NFC cards of the same car manufacturer, so that it can be determined whether the detected current NFC card is a valid card. It should be understood that this is only an example, and the specific matching rule may be set according to actual conditions, and the purpose of step S2 is to filter the illegal current NFC card, so as to avoid that the illegal current NFC card frequently wakes up the entire car CAN bus.
Step S3, if the current NFC card is legal, the external NFC module sends an authentication request to the internal security chip;
specifically, if the current NFC card is a legal current NFC card, the external NFC module wakes up the whole vehicle CAN bus, sends the authentication request to the in-vehicle security chip, and requests the in-vehicle security chip to return the random number Rnd.
And if the current NFC card is an illegal current NFC card, ending the communication connection between the current vehicle and the NFC mobile equipment.
Step S4, the NFC module outside the vehicle receives the random number Rnd sent by the safety chip inside the vehicle and sends the Rnd to the current NFC card; the Rnd is response information sent by the in-vehicle safety chip responding to the authentication request;
step S5, the NFC module outside the vehicle generates a quick authentication instruction, and the quick authentication instruction is respectively sent to the safety chip inside the vehicle and the current NFC card; the fast authentication instruction is used for fast authentication between the in-vehicle security chip and the current NFC card according to the NFCID and the Rnd;
specifically, in this embodiment, the fast authentication is performed by default, and the binding authentication is performed only when the fast authentication fails, because the binding authentication needs to be performed only when the fast authentication is performed for the first time, in addition, each subsequent connection does not need to undergo the binding authentication, and the fast authentication is adopted. Generally, one vehicle corresponds to several current NFC cards, that is, the number of times of using the binding authentication is very small, so that the fast authentication can be directly adopted first to improve the connection speed.
Step S6, if the fast authentication is passed, the vehicle and the NFC mobile equipment establish communication connection, if the fast authentication is failed, the external NFC module generates a binding authentication instruction, and the binding authentication instruction is respectively sent to the in-vehicle security chip and the current NFC card; the binding authentication instruction is used for binding authentication between the in-vehicle security chip and the current NFC card according to current NFC card user information NFCINFO and the Rnd, wherein the NFCINFO is the NFC user information of the current NFC card; and if the binding authentication passes, the vehicle and the NFC mobile device establish communication connection.
Specifically, the NFCID is an NFC tag of a current NFC card, and the NFCINFO is NFC user information of the current NFC card, specifically, binding relationship data between a vehicle and a user in this embodiment; the data of the NFC tag is relatively small, and is generally about 32 bytes; the data of the NFC user information is large compared to the NFC tag, and is generally about 150 bytes; the initiative of the first card binding is given to the user, namely, the binding relation data of the vehicle and the user is written into the card by the background and sent to the user, and the user can write the data into the in-vehicle safety chip by swiping the card for the first time, so that the use by the user is facilitated.
Preferably, the fast authentication command is represented by a 01 code, and the binding authentication command is represented by a 00 code. If the NFC module outside the automobile sends 01, the current NFC card and the safety chip inside the automobile are informed that the data uses a quick authentication process; and the NFC module outside the vehicle sends 00, and then the NFC card and the security chip inside the vehicle are told that the data is used for the card binding authentication process.
The embodiment provides a method for communication between a vehicle and an NFC mobile device, wherein before the method is implemented, a vehicle end is provided with an in-vehicle security chip and an out-vehicle NFC module, and when the method is implemented, the out-vehicle NFC module is used for matching a current NFC card at first, judging whether the current NFC card is the card which is matched in advance or not, and at the moment, the whole vehicle CAN bus does not need to be awakened, so that the phenomenon that other current NFC cards which are not used for unlocking the vehicle awaken the whole vehicle CAN bus to cause whole vehicle feeding is avoided; secondly, two authentication modes of fast authentication and binding authentication are set, the fast authentication is adopted by default, the binding authentication is carried out under the condition that the fast authentication fails, the authentication process of the fast authentication is simpler and the speed is higher compared with the binding authentication, for the current NFC card which is authenticated in advance, the card swiping speed can be improved by adopting the fast authentication, for the current NFC card which is authenticated for the first time, the authentication fails when the fast authentication is adopted, and the binding authentication is carried out, namely the first authentication. Based on the above contents, the method of the embodiment can solve the technical problems that the card swiping speed is slow and the entire vehicle network may be easily awakened by mistake to cause feeding when the current NFC card communicates in the vehicle.
In a preferred embodiment, in the step S5, the fast authentication includes:
step A1) an off-vehicle NFC module receives first signature information eDF1, an NFC label NFCID and encryption information eRnd sent by a current NFC card, and sends eDF1, the NFCID and the eRnd to an in-vehicle security chip for verification; the eDF1 is signature information generated by the current NFC card according to the NFCID, and the errnd is encryption information obtained by encrypting the Rnd by the current NFC card according to a preset encryption mode;
specifically, the encryption method of the preset encryption method in this embodiment is not limited, and any encryption method may be selected to achieve the purpose of this embodiment.
Step A2), the NFC module outside the vehicle receives a verification result sent by the security chip inside the vehicle, and if the verification result is that the fast authentication is passed, the vehicle and the NFC mobile device establish communication connection.
Preferably, the verification result is represented by a code in the embodiment, 9000 represents that the verification passes, and 6a88 represents that the verification fails.
Exemplarily, in the step a 2), the generating process of the verification result of the fast authentication sent by the in-vehicle security chip specifically includes:
step B1), the in-vehicle security chip carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset decryption mode to obtain a random number Rnd 0;
specifically, the eDF1 is signature information obtained by signing the current NFC card with NFCID, so that signature verification is performed on the eDF1 to obtain a signature thereof; for example, the signature verification principle is as follows: the receiver receives the result of the digital signature, which includes the digital signature, the electronic original text and the sender public key, i.e. the data to be verified. The verification process of signature verification by the receiver is as follows: the receiver firstly decrypts the digital signature by using the sender public key, derives the digital abstract, carries out the same hash algorithm on the original text of the electronic file to obtain a new digital abstract, compares the results of the hash values of the two abstracts, and verifies the same signature, otherwise, the signature is invalid.
In this embodiment, the decryption mode of the preset decryption mode is not limited, and corresponds to the preset encryption mode, which is a matching encryption and decryption algorithm.
Step B2), if the signature of eDF1 is the NFCID and the Rnd0 is consistent with the Rnd, the verification result is that the fast authentication is passed, otherwise, the verification result is that the fast authentication is failed. In a preferred embodiment, in the step S6, the binding authentication includes:
step C1) the off-board NFC module receives second signature information eDF2, current NFC card user information NFCINFO and encryption information eRnd sent by the current NFC card, and sends eDF2, NFCINFO and eRnd to the in-vehicle security chip for verification; the eDF2 is signature information generated by the current NFC card according to the NFCINFO, and the edrn is encryption information obtained by encrypting the Rnd by the current NFC card according to the preset encryption mode;
specifically, the encryption method of the preset encryption method in this embodiment is not limited, and any encryption method may be selected to achieve the purpose of this embodiment. Step C2), the external NFC module receives the verification result sent by the internal security chip, and if the verification result is that the binding authentication is passed, the vehicle and the NFC mobile device establish communication connection; and when the binding authentication passes, the in-vehicle security chip stores the NFCINFO and the NFCID.
Preferably, the verification result is represented by a code in the embodiment, 9000 represents that the verification passes, and 6a88 represents that the verification fails.
Exemplarily, in the step C2), the generating process of the verification result of the binding authentication sent by the in-vehicle security chip specifically includes:
step D1), the in-vehicle security chip carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset encryption mode to obtain Rnd 0;
specifically, the eDF2 is signature information obtained by signing the current NFC card by using NFCINFO, so that signature verification is performed on the eDF2 to obtain a signature thereof; for example, the signature verification principle is as follows: the receiver receives the result of the digital signature, which includes the digital signature, the electronic original text and the sender public key, i.e. the data to be verified. The verification process of signature verification by the receiver is as follows: the receiver firstly decrypts the digital signature by using the sender public key, derives the digital abstract, carries out the same hash algorithm on the original text of the electronic file to obtain a new digital abstract, compares the results of the hash values of the two abstracts, and verifies the same signature, otherwise, the signature is invalid.
In this embodiment, the decryption mode of the preset decryption mode is not limited, and corresponds to the preset encryption mode, which is a matching encryption and decryption algorithm.
Step D2), if the signature of eDF1 is the NFCINFO, and the Rnd0 is consistent with the Rnd, the check result is that the binding authentication is passed, otherwise, the check result is that the binding authentication is failed.
Optionally, the current NFC card is an NFC physical card or an NFC virtual card.
Wherein, when the current NFC card is an NFC virtual card, the method further includes:
step S7, the off-board NFC module sends the verification result (i.e., the code 9000 or 6a 88) that the fast authentication or the binding authentication passes to the current NFC card, so that the mobile device where the current NFC card is located displays that the connection is successful.
In a preferred embodiment, the method of the above embodiment further comprises:
step S8, when the vehicle is in communication connection with the NFC mobile device, the in-vehicle security chip sends a vehicle unlocking request to the in-vehicle Bluetooth module; the vehicle unlocking and locking request is used for controlling a vehicle executing mechanism to execute unlocking and locking operation on the vehicle through the in-vehicle Bluetooth module.
Referring to fig. 2, in the specific flow of the method of the above embodiment, in fig. 2, the eSE is an in-vehicle security chip, the SBM is an in-vehicle bluetooth module, the ONM is an out-vehicle NFC module, the Card represents an NFC Card, and the Phone is a mobile Phone terminal.
Another embodiment of the present invention provides an off-board NFC module, which is disposed on or near a body of a vehicle, comprising a memory and a processor, wherein the memory stores computer readable instructions, and the computer readable instructions, when executed by the processor, cause the processor to perform steps S1-S7 of the method for communicating the vehicle with an NFC mobile device according to the above embodiments.
It should be understood that, steps S1 to S7 of the method for communicating between the vehicle and the NFC mobile device in the foregoing embodiment constitute functional limitations of the parking space NFC module in this embodiment, and relevant descriptions may be obtained by referring to specific contents of steps S1 to S7 in the foregoing embodiment of the method, and are not described herein again.
Certainly, the NFC module outside the vehicle may further include components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and may further include other components for implementing a device function, which is not described herein again.
Illustratively, the computer program may be divided into one or more units, which are stored in the memory and executed by the processor to accomplish the present invention. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the off-board NFC module.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the off-board NFC module, with various interfaces and lines connecting the various parts of the entire off-board NFC module.
The memory may be used to store the computer program and/or unit, and the processor may implement various functions of the off-board NFC module by running or executing the computer program and/or unit stored in the memory, and invoking data stored in the memory. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As shown in fig. 3, another embodiment of the present invention further provides a system for communication between a vehicle and an NFC mobile device, where the NFC mobile device includes an NFC card 4, the system of this embodiment is disposed on the vehicle, and includes an off-vehicle NFC module 1, an on-vehicle security chip 2, and an on-vehicle bluetooth module 3, the on-vehicle security chip 2 is connected to the on-vehicle bluetooth module 3 through an SPI bus, the off-vehicle NFC module 1 is connected to the on-vehicle bluetooth module 3 through a CAN bus, and the system of this embodiment is configured to execute steps S1 to S8 of the method for communication between the vehicle and the NFC mobile device according to the above embodiment.
It should be understood that steps S1 to S8 of the method for communicating between a vehicle and an NFC mobile device in the foregoing embodiment constitute functional limitations of the system for communicating between a vehicle and an NFC mobile device in this embodiment, and the related description may be obtained by referring to specific contents of steps S1 to S8 in the foregoing embodiment, and will not be described herein again.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Claims (10)
1. A method of a vehicle communicating with an NFC mobile device provided with an NFC card, characterized in that the method comprises:
when the NFC module outside the automobile monitors that the NFC card enters the monitoring range of the NFC card, the NFC module outside the automobile sends a matching request to the NFC card;
the NFC module outside the vehicle receives the NFCID of the NFC label sent by the NFC card and judges whether the NFC card is legal or not according to the NFCID; the NFCID is response information sent by the NFC card responding to the matching request;
if the NFC clamping method is adopted, the external NFC module sends an authentication request to the internal security chip;
the NFC module outside the vehicle receives a random number Rnd sent by the safety chip inside the vehicle and sends the Rnd to the NFC card; the Rnd is response information sent by the in-vehicle safety chip responding to the authentication request;
the NFC module outside the vehicle generates a rapid authentication instruction and respectively sends the rapid authentication instruction to the security chip inside the vehicle and the NFC card; the rapid authentication instruction is used for performing rapid authentication between the in-vehicle security chip and the NFC card according to the NFCID and the Rnd;
if the fast authentication is passed, the vehicle and the NFC mobile equipment are in communication connection, and if the fast authentication is failed, the external NFC module generates a binding authentication instruction and sends the binding authentication instruction to the in-vehicle security chip and the NFC card respectively; the binding authentication instruction is used for binding authentication between the in-vehicle security chip and the NFC card according to the user information NFCINFO and the Rnd of the NFC card; and if the binding authentication passes, the vehicle and the NFC mobile device establish communication connection.
2. The method of vehicle to NFC mobile device communication of claim 1, wherein the performing fast authentication comprises:
the NFC module outside the vehicle receives first signature information eDF1, an NFC label NFCID and encryption information eRnd sent by the NFC card, and sends eDF1 and eRnd to the security chip inside the vehicle for verification; the eDF1 is signature information generated by the NFC card according to the NFCID, and the errnd is encryption information obtained by encrypting the Rnd by the NFC card according to a preset encryption mode;
and the external NFC module receives a verification result sent by the internal security chip, and if the verification result is that the quick authentication passes, the vehicle and the NFC mobile device establish communication connection.
3. The method for communicating between the vehicle and the NFC mobile device according to claim 2, wherein the generation process of the verification result of the fast authentication sent by the in-vehicle security chip specifically includes:
the safety chip in the vehicle carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset encryption mode to obtain a random number Rnd 0;
if the signature of eDF1 is the NFCID and the Rnd0 is consistent with the Rnd, the verification result is that the fast authentication passes, otherwise, the verification result is that the fast authentication fails.
4. The method of vehicle to NFC mobile device communication of claim 1, wherein the performing binding authentication comprises:
the NFC module outside the vehicle receives second signature information eDF2, NFC card user information NFCINFO and encryption information eRnd sent by the NFC card, and sends eDF2, NFCINFO and eRnd to the security chip inside the vehicle for verification; the eDF2 is signature information generated by the NFC card according to the NFCINFO, and the edrn is encryption information obtained by encrypting the Rnd by the NFC card according to a preset encryption mode;
the NFC module outside the vehicle receives a verification result sent by the safety chip inside the vehicle, and if the verification result is that the binding authentication passes, the vehicle and the NFC mobile device establish communication connection; and when the binding authentication passes, the in-vehicle security chip stores the NFCINFO and the NFCID.
5. The method for communicating between the vehicle and the NFC mobile device according to claim 4, wherein the generation process of the check result of the binding authentication sent by the in-vehicle security chip specifically includes:
the safety chip in the vehicle carries out signature verification on the eDF1 to obtain a signature of the eDF1, and decrypts the eRnd according to a preset encryption mode to obtain Rnd 0;
and if the signature of the eDF1 is the NFCINFO and the Rnd0 is consistent with the Rnd, the verification result is that the binding authentication is passed, otherwise, the verification result is that the binding authentication is failed.
6. The method of any of claims 1-5, wherein the NFC card is an NFC physical card or an NFC virtual card.
7. The method of a vehicle communicating with an NFC mobile device of claim 6, wherein when the NFC card is an NFC virtual card, the method further comprises:
the external NFC module sends the quick authentication or the check result that the binding authentication passes to the NFC card so that the mobile device where the NFC card is located can display the successful connection.
8. The method of communicating with an NFC mobile device by a vehicle of claim 1, the method further comprising:
when the vehicle is in communication connection with the NFC mobile device, the in-vehicle safety chip sends a vehicle unlocking request to the in-vehicle Bluetooth module; the vehicle unlocking and locking request is used for controlling a vehicle executing mechanism to execute unlocking and locking operation on the vehicle through the in-vehicle Bluetooth module.
9. An off-board NFC module, arranged on or near a body of a vehicle, comprising a memory having stored therein computer readable instructions, which, when executed by the processor, cause the processor to perform the steps of the method of communicating a vehicle with an NFC mobile device according to any of claims 1-7.
10. A system for communicating a vehicle with an NFC mobile device, the NFC mobile device comprising an NFC card, the system being arranged on the vehicle and comprising an off-board NFC module, an in-board security chip and an in-board bluetooth module, the in-board security chip being connected to the in-board bluetooth module via an SPI bus, the off-board NFC module being connected to the in-board bluetooth module via a CAN bus, the system being configured to perform the steps of the method for communicating a vehicle with an NFC mobile device according to any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010741377.8A CN111629353B (en) | 2020-07-29 | 2020-07-29 | Method and system for communication between vehicle and NFC mobile device and external NFC module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010741377.8A CN111629353B (en) | 2020-07-29 | 2020-07-29 | Method and system for communication between vehicle and NFC mobile device and external NFC module |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111629353A true CN111629353A (en) | 2020-09-04 |
CN111629353B CN111629353B (en) | 2020-11-13 |
Family
ID=72272915
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010741377.8A Active CN111629353B (en) | 2020-07-29 | 2020-07-29 | Method and system for communication between vehicle and NFC mobile device and external NFC module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111629353B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113920625A (en) * | 2021-10-18 | 2022-01-11 | 安徽江淮汽车集团股份有限公司 | Vehicle NFC key authentication method |
US20220141772A1 (en) * | 2020-11-05 | 2022-05-05 | Nxp B.V. | Rf communication devices and operating methods |
CN114596651A (en) * | 2020-12-01 | 2022-06-07 | 上海博泰悦臻网络技术服务有限公司 | Vehicle control method, electronic device, and storage medium |
CN116233801A (en) * | 2021-12-06 | 2023-06-06 | 上汽通用汽车有限公司 | Vehicle-mounted part authentication method, device, storage medium and vehicle |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104029652A (en) * | 2014-06-25 | 2014-09-10 | 奇瑞汽车股份有限公司 | CAN (controller area network)-bus automobile-engine IMMO (immobilizer) system and authentication method thereof |
CN104424779A (en) * | 2013-08-30 | 2015-03-18 | 比亚迪股份有限公司 | System and method for controlling vehicle by virtue of mobile terminal |
WO2015103206A2 (en) * | 2013-12-31 | 2015-07-09 | Huf North American Automotive Parts Mfg. Corp. | Bluetooth verification for vehicle access systems |
US20190172283A1 (en) * | 2017-12-06 | 2019-06-06 | Toyota Jidosha Kabushiki Kaisha | Key information management device, management method of key information, computer-readable non-transitory storage medium storing key information management program |
CN110593712A (en) * | 2019-09-27 | 2019-12-20 | 奇瑞汽车股份有限公司 | Opening method of electric tail gate of vehicle |
CN110751765A (en) * | 2018-07-04 | 2020-02-04 | 上海擎感智能科技有限公司 | Automobile wireless key control method and system based on NFC module |
CN110996296A (en) * | 2019-12-23 | 2020-04-10 | 北京汽车集团越野车有限公司 | Control method and system for sharing vehicle |
CN111086485A (en) * | 2018-10-23 | 2020-05-01 | 上海博泰悦臻电子设备制造有限公司 | Vehicle door lock control method, vehicle machine and vehicle |
-
2020
- 2020-07-29 CN CN202010741377.8A patent/CN111629353B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104424779A (en) * | 2013-08-30 | 2015-03-18 | 比亚迪股份有限公司 | System and method for controlling vehicle by virtue of mobile terminal |
WO2015103206A2 (en) * | 2013-12-31 | 2015-07-09 | Huf North American Automotive Parts Mfg. Corp. | Bluetooth verification for vehicle access systems |
CN104029652A (en) * | 2014-06-25 | 2014-09-10 | 奇瑞汽车股份有限公司 | CAN (controller area network)-bus automobile-engine IMMO (immobilizer) system and authentication method thereof |
US20190172283A1 (en) * | 2017-12-06 | 2019-06-06 | Toyota Jidosha Kabushiki Kaisha | Key information management device, management method of key information, computer-readable non-transitory storage medium storing key information management program |
CN110751765A (en) * | 2018-07-04 | 2020-02-04 | 上海擎感智能科技有限公司 | Automobile wireless key control method and system based on NFC module |
CN111086485A (en) * | 2018-10-23 | 2020-05-01 | 上海博泰悦臻电子设备制造有限公司 | Vehicle door lock control method, vehicle machine and vehicle |
CN110593712A (en) * | 2019-09-27 | 2019-12-20 | 奇瑞汽车股份有限公司 | Opening method of electric tail gate of vehicle |
CN110996296A (en) * | 2019-12-23 | 2020-04-10 | 北京汽车集团越野车有限公司 | Control method and system for sharing vehicle |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20220141772A1 (en) * | 2020-11-05 | 2022-05-05 | Nxp B.V. | Rf communication devices and operating methods |
CN114596651A (en) * | 2020-12-01 | 2022-06-07 | 上海博泰悦臻网络技术服务有限公司 | Vehicle control method, electronic device, and storage medium |
CN114596651B (en) * | 2020-12-01 | 2024-06-11 | 上海博泰悦臻网络技术服务有限公司 | Vehicle control method, electronic device, and storage medium |
CN113920625A (en) * | 2021-10-18 | 2022-01-11 | 安徽江淮汽车集团股份有限公司 | Vehicle NFC key authentication method |
CN116233801A (en) * | 2021-12-06 | 2023-06-06 | 上汽通用汽车有限公司 | Vehicle-mounted part authentication method, device, storage medium and vehicle |
Also Published As
Publication number | Publication date |
---|---|
CN111629353B (en) | 2020-11-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111629353B (en) | Method and system for communication between vehicle and NFC mobile device and external NFC module | |
JP6419588B2 (en) | Mobile terminal additional registration system | |
CN108122311B (en) | Vehicle virtual key implementation method and system | |
CN105684009B (en) | Using biometric authentication for NFC-based payments | |
JP4126039B2 (en) | SIM card control apparatus and method for portable terminal | |
US9813116B2 (en) | Secure near field communication solutions and circuits | |
US20070118752A1 (en) | Authentication of control units in a vehicle | |
CN113002483B (en) | Non-contact automobile key implementation method and device | |
CN107097753B (en) | Vehicle smart key system and method for verifying vehicle smart key | |
CN101923660A (en) | Dynamic password identity authorization system and method based on RFID | |
US9714004B2 (en) | Electronic key registration system | |
CN112188431A (en) | Intelligent vehicle entering system and method thereof | |
US20230026215A1 (en) | Secure emergency vehicular communication | |
CN103516517A (en) | Production method, RFID transponder, authentication method, and reader device | |
JP6306364B2 (en) | Mobile device registration system | |
AU2021273648B2 (en) | Multi-use near field communication front end on a point of sale system | |
CN113442870B (en) | Method and device for deactivating vehicle-mounted unit, storage medium and terminal | |
US11485317B2 (en) | Concept for provision of a key signal or an immobilizer signal for a vehicle | |
CN115767552A (en) | Vehicle unlocking method and device, computer equipment and storage medium | |
CN112455386B (en) | Automobile anti-theft system and method | |
CN113115308B (en) | Secondary issuing method and authentication method for vehicle-mounted unit and related product | |
CN111142902B (en) | Method and device for protecting upgrading firmware of processor and vehicle | |
US11018879B2 (en) | Method and system for authentication with side-channel attack protection using pre-calculated ciphers | |
CN110119946B (en) | Pairing authentication method for electronic transaction device | |
CN113496561A (en) | Vehicle-mounted fingerprint identification system and communication method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |