CN115866570A - Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium - Google Patents

Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium Download PDF

Info

Publication number
CN115866570A
CN115866570A CN202211369890.4A CN202211369890A CN115866570A CN 115866570 A CN115866570 A CN 115866570A CN 202211369890 A CN202211369890 A CN 202211369890A CN 115866570 A CN115866570 A CN 115866570A
Authority
CN
China
Prior art keywords
card
vehicle
key
nfc
nfc card
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
Application number
CN202211369890.4A
Other languages
Chinese (zh)
Inventor
陈晨
陈德石
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Original Assignee
Chery Automobile Co Ltd
Wuhu Lion Automotive Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Chery Automobile Co Ltd, Wuhu Lion Automotive Technologies Co Ltd filed Critical Chery Automobile Co Ltd
Priority to CN202211369890.4A priority Critical patent/CN115866570A/en
Publication of CN115866570A publication Critical patent/CN115866570A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application relates to the technical field of digital keys, in particular to an off-line binding method, device, vehicle and medium for a vehicle-mounted NFC card key, wherein the method comprises the following steps: receiving a card matching request sent by a user, and generating a card pasting prompt based on the card matching request; when a user is detected to place the NFC card into a target card reading area, card information of the NFC card is read, and vehicle side verification and NFC card verification are respectively carried out on the basis of the card information and preset vehicle factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card configuration completion prompt. From this, the card distribution scheme of solving correlation technique is not applicable to not networking motorcycle type, user can't be by oneself, the not good problem of convenience, applicable in off-line state, can user self-service, can be safe swift with the help of cell-phone APP and car machine networking vehicle.

Description

Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium
Technical Field
The present disclosure relates to the Field of digital key technologies, and in particular, to an offline binding method and apparatus for a vehicle NFC (Near Field Communication) card key, a vehicle, and a medium.
Background
Currently, in order to complete the pairing of the NFC card and the vehicle, there are two main ways to complete the work in the related art. One is a self-service mode, and the binding of the NFC card and the automobile is finished in the mode through vehicle combination such as a background server, an automobile machine large screen, an automobile body safety module, an NFCReader (card reader) module, an NFC card intelligent key, an automobile owner mobile phone APP and the like; the other method is that the production line or the after-sale 4S shop completes the binding work, and the user cannot complete the binding work by self depending on the operation of the car factory.
However, in the related art, real-time network communication is required between a mobile phone App (Application) and a background server in a self-service manner, and between the background server and a vehicle-mounted device large-screen module, which cannot be performed under the condition of no network or the condition that the vehicle-mounted device is not equipped with a networking function, and the above-mentioned conditions depend on real-time network communication; in another mode, the scheme of card allocation is completed by a car factory, and the convenience of self-service operation of a user is lacked.
Disclosure of Invention
The application provides a method, device, vehicle and storage medium are bound to off-line of on-vehicle NFC card key to solve the card distribution scheme of correlation technique and be not applicable to not networking motorcycle type, the user can't be self-service, the not good problem of convenience, applicable in off-line state, can user self-service, can be with the help of cell-phone APP and car machine networking vehicle, safe swift.
An embodiment of a first aspect of the present application provides an offline binding method for a vehicle-mounted NFC card key, including the following steps: receiving a card matching request sent by a user, and generating a card pasting prompt based on the card matching request; when the user is detected to place the NFC card into a target card reading area, reading card information of the NFC card, and respectively performing vehicle side verification and NFC card verification based on the card information and preset vehicle factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card matching completion prompt.
Optionally, in some embodiments, the card information includes an encrypted value of a card ID (Identity document), a card chip ID, a card end random number, a card counter, and a card end random number; the preset vehicle factory data comprises a security chip ID, a pairing key dispersion factor and a vehicle end random number.
Optionally, in some embodiments, the performing vehicle side verification and NFC card verification based on the card information and preset car factory specific data respectively includes: obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key; and decrypting the card counter and the card end random number by using the session key to complete the vehicle side verification.
Optionally, in some embodiments, the performing vehicle side verification and NFC card verification respectively based on the card information and preset car factory specific data further includes: calculating a new session key by using the card terminal random number and preset appointed data; and sending the new session key and the preset appointment data to the NFC card so as to finish the verification of the NFC card after the NFC card decrypts the new session key.
Optionally, in some embodiments, after the vehicle-side verification and the NFC card are both successfully verified, the method further includes: and calculating the hash value of the encryption factor, encrypting and transmitting the hash value to the vehicle end by using the session key, decrypting and verifying the hash value by the vehicle end so as to finish the vehicle side verification again.
The embodiment of the second aspect of the present application provides an off-line binding device of an on-vehicle NFC card key, including: the receiving module is used for receiving a card matching request sent by a user and generating a card pasting prompt based on the card matching request; the detection module is used for reading card information of the NFC card when the user is detected to place the NFC card into a target card reading area, and respectively carrying out vehicle side verification and NFC card verification on the basis of the card information and preset vehicle factory data; and the binding module is used for deriving the service key of the NFC card after the vehicle side verification and the NFC card are both successfully verified, encrypting and transmitting the service key to the NFC card through a session key, and generating a card matching completion prompt.
Optionally, in some embodiments, the card information includes a card ID, a card chip ID, a card end random number, a card counter, and an encrypted value of the card end random number; the preset car factory data comprises a security chip ID, a pairing key dispersion factor and a car end random number.
Optionally, in some embodiments, the detection module is further configured to: obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key; and decrypting the card counter and the card end random number by using the session key to complete the vehicle side verification.
Optionally, in some embodiments, the detection module is further configured to: calculating a new session key by using the card terminal random number and preset appointed data; and sending the new session key and the preset appointment data to the NFC card so as to finish the verification of the NFC card after the NFC card decrypts the new session key.
Optionally, in some embodiments, after the vehicle-side authentication and the NFC card are both successfully authenticated, the binding module is further configured to: and calculating the hash value of the encryption factor, encrypting and transmitting the hash value to the vehicle end by using the session key, decrypting and verifying the hash value by the vehicle end so as to finish the vehicle side verification again.
An embodiment of a third aspect of the present application provides a vehicle, comprising: the device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the program to realize the off-line binding method of the vehicle-mounted NFC card key according to the embodiment.
A fourth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor, so as to implement the offline binding method for the vehicle-mounted NFC card key according to the foregoing embodiment.
Therefore, a card matching request sent by a user is received, a card pasting prompt is generated based on the card matching request, when the user is detected to place the NFC card into a target card reading area, card information of the NFC card is read, and vehicle side verification and NFC card verification are respectively carried out based on the card information and preset vehicle factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card configuration completion prompt. From this, the card distribution scheme of solving correlation technique is not applicable to not networking motorcycle type, user can't be by oneself, and the not good problem of convenience is applicable in off-line state, can user self-service, can be without the help of cell-phone APP and car machine networking vehicle, and is safe swift.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of an offline binding method for a vehicle-mounted NFC card key according to an embodiment of the present application;
fig. 2 is a flowchart of an offline binding method for a vehicle-mounted NFC card key according to an embodiment of the present application;
FIG. 3 is a block diagram of a system provided in accordance with one embodiment of the present application;
fig. 4 is a block diagram illustrating an offline binding apparatus of a vehicle-mounted NFC card key according to an embodiment of the present application;
fig. 5 is a schematic view of an electronic device provided according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The following describes an offline binding method, an offline binding device, a vehicle, and a medium for a vehicle-mounted NFC card key according to an embodiment of the present application with reference to the accompanying drawings. In the method, a card matching request sent by a user is received, a card pasting prompt is generated based on the card matching request, when the fact that the user puts an NFC card into a target card reading area is detected, card information of the NFC card is read, and vehicle side verification and NFC card verification are respectively carried out based on the card information and preset car factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card configuration completion prompt. From this, the card distribution scheme of solving correlation technique is not applicable to not networking motorcycle type, user can't be by oneself, the not good problem of convenience, applicable in off-line state, can user self-service, can be safe swift with the help of cell-phone APP and car machine networking vehicle.
Specifically, fig. 1 is a schematic flowchart of an offline binding method for a vehicle-mounted NFC card key according to an embodiment of the present application.
As shown in fig. 1, the off-line binding method of the vehicle-mounted NFC card key includes the following steps:
in step S101, a card matching request issued by a user is received, and a card pasting reminder is generated based on the card matching request.
Specifically, a user enters a card matching mode through prompting of a vehicle-mounted large-screen card matching program, the large screen prompts an NFCReader vehicle to search a card through CAN communication, a digital key main module is informed to start card matching, the main module enters the card matching mode, the user is prompted to carry out card pasting operation, and the user enters the card matching mode through prompting of the vehicle-mounted large screen.
In the actual execution process, a user can use a biological lock (sound characteristics, facial characteristics and the like) to enter a program through a vehicle machine large-screen card matching program to safely complete the authentication of the identity of a vehicle owner, after the vehicle machine large-screen card matching program verifies the identity of the vehicle owner, a trigger button is clicked to trigger a digital key main module to enter a pairing mode, the process is completed through can communication, a network vehicle is not needed, the vehicle machine large-screen prompts the user to carry out card pasting operation, and a card is placed in a card swiping area.
In step S102, when it is detected that the user places the NFC card in the target card reading area, card information of the NFC card is read, and vehicle side authentication and NFC card authentication are performed based on the card information and preset vehicle factory data, respectively.
Specifically, the user brings the NFCCard close to the nfreader area, and the nfreader reads the card content and transmits the content to the digital key main module through can communication.
Optionally, in some embodiments, the card information includes a card ID, a card chip ID, a card end random number, a card counter, and an encrypted value of the card end random number; the preset car factory data comprises a security chip ID, a pairing key dispersion factor and a car end random number.
Optionally, in some embodiments, the vehicle-side verification and the NFC card verification are performed based on the card information and preset vehicle manufacturer specific data, respectively, and include: obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key; and decrypting the card counter and the card terminal random number by using the session key to finish vehicle side authentication.
Specifically, the card information is read by the vehicle end, and the parameters carried by the read command are preset vehicle factory specified data, and mainly comprise a main module, a security chip ID, a mating key dispersion factor, a vehicle end random number and the like. The read card information includes a card ID, a card chip ID, a card side random number, and a ciphertext (an encrypted value of parameters such as a card counter and the card side random number). And the vehicle end derives a key according to the key dispersion factor, calculates a session key according to the derived key, and decrypts the value of the card counter and the card end random number by using the session key. And carrying out primary verification on the vehicle side.
Optionally, in some embodiments, the vehicle-side verification and the NFC card verification are performed based on the card information and preset car-factory-specific data, respectively, and further includes: calculating a new session key by using the random number of the card terminal and preset appointed data; and sending the new session key and the preset appointed data to the NFC card so as to finish the verification of the NFC card after the NFC card decrypts the new session key.
Specifically, card end data and preset agreed data are selected to participate in calculating a new session key, the new session key is encrypted with the card end data and the preset agreed data and is sent to the card end, the card end decrypts the data in the same mode, and the card end performs primary verification.
It should be noted that, when the card leaves the factory, a learning key needs to be canned in advance through an encryption machine, the learning key preset by the car body security module is associated with the card key through an algorithm, the car body security module calculates the learning key symmetrical to the card end according to the algorithm, and derives a session key according to the learning key, and the two parties use the session key to encrypt and preset parameters of the security chip, random numbers of the two parties, counter values and the like, perform bidirectional authentication for many times, and finally complete the verification process.
Specifically, the digital key main module sends a learning start instruction (encrypted by a Secure Element (SE) module), the nfcleader transparently transmits the learning instruction, and after receiving the instruction, the NFCCard calculates a session key according to the learning key, decrypts the instruction, performs verification, and uses factors such as a session key encryption random number counter value to transmit the session key to the digital key main module, and the digital key main module communicates with the SE, so that the SE completes decryption of encrypted data, and uses the session key to encrypt the data and transmits the data to the NFCCard for verification. And the two parties finish the double authentication process according to the appointed algorithm.
In step S103, after the vehicle-side verification and the NFC card are both successfully verified, a service key of the NFC card is derived, and the service key is encrypted and transmitted to the NFC card by a session key, and a card-assignment completion prompt is generated.
Specifically, after the double authentication is completed, the vehicle-end SE module derives a service key of the NFCCard according to a preset service key, encrypts and transmits the service key to the NFCCard by using a session key, after learning is completed, the digital key main module feeds a result back to a vehicle-mounted large screen through CAN (Controller Area Network) communication to prompt a user to complete card matching, and after learning matching is completed, the vehicle-end security module derives a transaction key and transmits the transaction key (session key encryption) to a security module of the NFC card. After the pairing is completed, the NFC digital key can realize functions of starting/entering the vehicle without a key, starting an engine of a vehicle machine and the like, a user can operate a new card to be close to the NFCReader, and functional verification of unlocking/starting the engine of the vehicle can be completed.
Optionally, in some embodiments, after both the vehicle-side authentication and the NFC card are successfully authenticated, the method further includes: and calculating the hashed value of the encryption factor, encrypting and transmitting the hashed value to the vehicle end by using the session key, decrypting and verifying the hashed value by the vehicle end so as to finish the vehicle side verification again.
Specifically, after the vehicle side verification and the NFC card are successfully verified, the hashed value of the encryption factor is calculated and encrypted by using the session key to be transmitted to the vehicle end, the vehicle end decrypts and calculates the hashed value for verification, and the vehicle side verifies again.
In order to enable those skilled in the art to further understand the offline binding method of the vehicle-mounted NFC card key according to the embodiment of the present application, detailed descriptions are provided below with reference to specific embodiments.
As shown in fig. 2, fig. 2 is a flowchart of an offline binding method for a vehicle-mounted NFC card key according to an embodiment of the present application.
The embodiment of the application is provided with a car machine large screen, a digital key main module, an NFCReader, an NFCCard, an SE module and the like as shown in FIG. 3.
1. The car machine is large-screen: and a UI interface is provided for the automobile central control screen and the automobile owner to self-service card allocation, and the UI interface is communicated with the digital key module through a vehicle end can network.
2. The digital key main module: an ECU (Electronic Control Unit) loaded with a digital key program completes generation of a key, encryption/decryption calculation, and the like by communicating with the SE. The spi (Serial Peripheral Interface) communication can be performed by presetting the spi in the nfcoder module, or can be performed separately.
NFCReader: and the vehicle is an NFC card reader vehicle at the vehicle end, and the authentication process is completed through NFC near field communication with the NFCCard.
4. NFCCard: is an NFC card vehicle.
5.SE: is a vehicle end safety module.
Through the module, a user uses a biological lock to enter through a vehicle machine large-screen card matching program; clicking a trigger button to trigger the digital key main module to enter a pairing mode; the vehicle machine large screen prompts a user to carry out card pasting operation; the NFCCard (card) is placed in an NFCReader (vehicle end card reader) area, and the vehicle end reads card information; the SE (security module) of the digital key main module and the SE (security module) of the NFCCard perform double authentication to finish the authentication of the card and the card reader, and the card information is written into a key list of the vehicle body to finish pairing; after learning is completed, the user is prompted to complete card matching through a large screen.
According to the off-line binding method of the vehicle-mounted NFC card key, the card matching request sent by the user is received, the card sticking prompt is generated based on the card matching request, when the NFC card is placed in the target card reading area by the user, the card information of the NFC card is read, and vehicle side verification and NFC card verification are respectively carried out based on the card information and preset vehicle factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card configuration completion prompt. From this, the card distribution scheme of solving correlation technique is not applicable to not networking motorcycle type, user can't be by oneself, the not good problem of convenience, applicable in off-line state, can user self-service, can be safe swift with the help of cell-phone APP and car machine networking vehicle.
Next, an off-line binding device of a vehicle-mounted NFC card key according to an embodiment of the present application is described with reference to the drawings.
Fig. 4 is a block diagram illustrating an offline binding apparatus of an on-vehicle NFC card key according to an embodiment of the present application.
As shown in fig. 4, the off-line binding apparatus 10 for the vehicle-mounted NFC card key includes: a receiving module 100, a detecting module 200 and a binding module 300.
The receiving module 100 is configured to receive a card configuration request sent by a user, and generate a card sticking reminder based on the card configuration request; the detection module 200 is configured to read card information of the NFC card when detecting that the user places the NFC card in the target card reading area, and perform vehicle side verification and NFC card verification based on the card information and preset vehicle factory data, respectively; and a binding module 300, configured to derive a service key of the NFC card after the vehicle side verification and the NFC card are both successfully verified, encrypt and transmit the service key to the NFC card through the session key, and generate a card configuration completion prompt.
Optionally, in some embodiments, the card information includes a card ID, a card chip ID, a card end random number, a card counter, and an encrypted value of the card end random number; the preset car factory data comprises a security chip ID, a pairing key dispersion factor and a car end random number.
Optionally, in some embodiments, the detection module 200 is further configured to: obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key; and decrypting the card counter and the card terminal random number by using the session key to complete vehicle side verification.
Optionally, in some embodiments, the detection module 200 is further configured to: calculating a new session key by using the random number of the card terminal and preset appointed data; and sending the new session key and the preset appointed data to the NFC card so as to finish the verification of the NFC card after the NFC card decrypts the new session key.
Optionally, in some embodiments, after both the vehicle-side authentication and the NFC card are successfully authenticated, the binding module 300 is further configured to: and calculating the hash value of the encryption factor, encrypting and transmitting the hash value to the vehicle end by using the session key, decrypting and verifying the hash value by the vehicle end so as to finish vehicle side verification again.
It should be noted that the explanation of the embodiment of the offline binding method for the vehicle-mounted NFC card key is also applicable to the offline binding device for the vehicle-mounted NFC card key of this embodiment, and is not repeated herein.
According to the off-line binding device of the vehicle-mounted NFC card key, the card matching request sent by a user is received, the card sticking prompt is generated based on the card matching request, when the NFC card is placed in the target card reading area by the user, the card information of the NFC card is read, and vehicle side verification and NFC card verification are respectively carried out based on the card information and preset vehicle factory data; and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card configuration completion prompt. From this, the card distribution scheme of solving correlation technique is not applicable to not networking motorcycle type, user can't be by oneself, and the not good problem of convenience is applicable in off-line state, can user self-service, can be without the help of cell-phone APP and car machine networking vehicle, and is safe swift.
Fig. 5 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle may include:
a memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502.
The processor 502 executes the program to implement the offline binding method for the vehicle-mounted NFC card key provided in the above-described embodiment.
Further, the vehicle further includes:
a communication interface 503 for communication between the memory 501 and the processor 502.
A memory 501 for storing computer programs that can be run on the processor 502.
The Memory 501 may include a high-speed RAM (Random Access Memory) Memory, and may also include a nonvolatile Memory, such as at least one disk Memory.
If the memory 501, the processor 502 and the communication interface 503 are implemented independently, the communication interface 503, the memory 501 and the processor 502 may be connected to each other through a bus and perform communication with each other. The bus may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, in a specific implementation, if the memory 501, the processor 502, and the communication interface 503 are integrated on a chip, the memory 501, the processor 502, and the communication interface 503 may complete communication with each other through an internal interface.
The processor 502 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present Application.
The embodiment of the application also provides a computer readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the off-line binding method of the vehicle-mounted NFC card key is realized.
In the description of the present specification, reference to the description of "one embodiment," "some embodiments," "an example," "a specific example," or "some examples" or the like means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "N" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of implementing the embodiments of the present application.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a programmable gate array, a field programmable gate array, or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (10)

1. An off-line binding method for a vehicle-mounted NFC card key is characterized by comprising the following steps:
receiving a card matching request sent by a user, and generating a card pasting prompt based on the card matching request;
when the user is detected to place the NFC card into a target card reading area, reading card information of the NFC card, and respectively performing vehicle side verification and NFC card verification based on the card information and preset vehicle factory data; and
and after the vehicle side verification and the NFC card are successfully verified, deriving a service key of the NFC card, encrypting and transmitting the service key to the NFC card through a session key, and generating a card matching completion prompt.
2. The method according to claim 1, wherein the card information includes a card ID, a card chip ID, a card-side random number, a card counter, and an encrypted value of the card-side random number;
the preset car factory data comprises a security chip ID, a pairing key dispersion factor and a car end random number.
3. The method according to claim 2, wherein the performing vehicle-side verification and NFC card verification based on the card information and preset car factory specified data respectively comprises:
obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key;
and decrypting the card counter and the card end random number by using the session key to complete the vehicle side verification.
4. The method according to claim 3, wherein the performing vehicle-side verification and NFC card verification based on the card information and preset car factory designation data, respectively, further comprises:
calculating a new session key by using the card terminal random number and preset appointed data;
and sending the new session key and the preset appointment data to the NFC card so as to finish the verification of the NFC card after the NFC card decrypts the new session key.
5. The method of claim 4, further comprising, after the vehicle-side authentication and the NFC card both successfully authenticate:
and calculating the hash value of the encryption factor, encrypting and transmitting the hash value to the vehicle end by using the session key, decrypting and verifying the hash value by the vehicle end so as to finish the vehicle side verification again.
6. The utility model provides a device is bound to off-line of on-vehicle NFC card key which characterized in that includes:
the receiving module is used for receiving a card matching request sent by a user and generating a card pasting prompt based on the card matching request;
the detection module is used for reading card information of the NFC card when the user is detected to place the NFC card into a target card reading area, and respectively carrying out vehicle side verification and NFC card verification on the basis of the card information and preset vehicle factory data; and
and the binding module is used for deriving the service key of the NFC card after the vehicle side verification and the NFC card are both successfully verified, encrypting and transmitting the service key to the NFC card through a session key, and generating a card matching completion prompt.
7. The apparatus according to claim 6, wherein the card information includes a card ID, a card chip ID, a card-side random number, a card counter, and an encrypted value of the card-side random number;
the preset vehicle factory data comprises a security chip ID, a pairing key dispersion factor and a vehicle end random number.
8. The apparatus of claim 7, wherein the detection module is further configured to:
obtaining a derived key according to a preset key dispersion factor, and calculating according to the derived key to obtain a session key;
and decrypting the card counter and the card end random number by using the session key to complete the vehicle side verification.
9. A vehicle, characterized by comprising: memory, a processor and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the off-line binding method of the vehicle NFC card key according to any one of claims 1 to 5.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor for implementing the off-line binding method of the vehicle NFC card key according to any one of claims 1 to 5.
CN202211369890.4A 2022-11-03 2022-11-03 Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium Pending CN115866570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211369890.4A CN115866570A (en) 2022-11-03 2022-11-03 Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211369890.4A CN115866570A (en) 2022-11-03 2022-11-03 Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium

Publications (1)

Publication Number Publication Date
CN115866570A true CN115866570A (en) 2023-03-28

Family

ID=85662377

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211369890.4A Pending CN115866570A (en) 2022-11-03 2022-11-03 Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium

Country Status (1)

Country Link
CN (1) CN115866570A (en)

Similar Documents

Publication Publication Date Title
EP3885204B1 (en) Automobile control method and device based on nfc automobile key, automobile and storage medium
AU2018228890B2 (en) System access using a mobile device
CN107113315B (en) Identity authentication method, terminal and server
CN100541366C (en) Vehicle information rewriting system
US9218700B2 (en) Method and system for secure and authorized communication between a vehicle and wireless communication devices or key fobs
WO2015196943A1 (en) Vehicle control system, method and device, and computer readable storage medium
CN109328348B (en) Service authentication method, system and related equipment
KR101757214B1 (en) Vehicle control method and system using user terminal in trusted execution environment
CN111845624B (en) Method for starting vehicle without key
CN107277033B (en) Charging and battery replacing equipment and authentication method and system for object to be charged and battery replaced
CN113508609A (en) User-friendly vehicle-mounted Bluetooth pairing scheme
CN113920616B (en) Method for safely connecting vehicle with Bluetooth key, bluetooth module and Bluetooth key
CN111083696B (en) Communication verification method and system, mobile terminal and vehicle machine side
CN108116367B (en) Keyless system matching method and keyless matching system
CN110406498A (en) A kind of control method for vehicle and device
CN113722699A (en) Identity authentication method and device, readable storage medium and vehicle
CN109743283B (en) Information transmission method and equipment
JP2017076874A (en) User authentication device and cryptographic key storage method
CN112118209B (en) Account operation method and device of vehicle equipment
CN115866570A (en) Offline binding method and device for vehicle-mounted NFC card key, vehicle and medium
CN115915131A (en) Vehicle key bidirectional encryption authentication method and system, vehicle binding device and NFC card
CN115019421A (en) Vehicle control method
JP6204442B2 (en) Electronic key registration system
JP5985845B2 (en) Electronic key registration method
JP2020004044A (en) Authentication system and authentication method

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