CN115565268B - Automobile control method and system based on wireless automobile key, electronic equipment and storage medium - Google Patents

Automobile control method and system based on wireless automobile key, electronic equipment and storage medium Download PDF

Info

Publication number
CN115565268B
CN115565268B CN202211047690.7A CN202211047690A CN115565268B CN 115565268 B CN115565268 B CN 115565268B CN 202211047690 A CN202211047690 A CN 202211047690A CN 115565268 B CN115565268 B CN 115565268B
Authority
CN
China
Prior art keywords
car key
wireless
key
module
wireless car
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.)
Active
Application number
CN202211047690.7A
Other languages
Chinese (zh)
Other versions
CN115565268A (en
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.)
Xinghan Intelligent Technology Co ltd
Original Assignee
Xinghan Intelligent Technology 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 Xinghan Intelligent Technology Co ltd filed Critical Xinghan Intelligent Technology Co ltd
Priority to CN202211047690.7A priority Critical patent/CN115565268B/en
Publication of CN115565268A publication Critical patent/CN115565268A/en
Application granted granted Critical
Publication of CN115565268B publication Critical patent/CN115565268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • H04W12/069Authentication using certificates or pre-shared keys

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The technical scheme of the invention provides an automobile control method, an automobile control system, electronic equipment and a storage medium based on a wireless automobile key, which are applied to the wireless automobile key control system, wherein the method comprises the following steps: transmitting the first code to the wireless car key, receiving a second code fed back by the wireless car key, and identifying and checking the second code; transmitting the first session data to the wireless car key, receiving the second session data fed back by the wireless car key, generating a session key, encrypting the second session data by using the session key to generate a first authentication ciphertext, and transmitting the first authentication ciphertext to the wireless car key; receiving a second authentication ciphertext sent by the wireless car key, and decrypting the second authentication ciphertext by using the session key to generate third session data and a fingerprint matching result; and if the first session data is consistent with the third session data and the fingerprint matching result is correct, generating an automobile control instruction. By adopting the technical scheme of the invention, relay attack can be prevented, and the safety of automobile control is improved.

Description

Automobile control method and system based on wireless automobile key, electronic equipment and storage medium
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to an automobile control method, system, electronic device, and storage medium based on a wireless car key.
Background
Along with the progress of scientific technology in various fields, automobiles are also undergoing continuous innovation and development as an important tool for life and travel of people, and particularly along with the popularization of new energy automobiles, more and more automobile enterprises use NFC card car keys which are more convenient to operate, safer in data, smaller in size and more convenient to carry.
The common NFC card car key is internally provided with a safety chip which uses passive near field communication but does not have relay attack prevention capability, so that a car door is easily opened by an illegal person to steal property by utilizing the weak point, and an engine is started to steal the car.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides an automobile control method, an automobile control system, electronic equipment and a storage medium based on a wireless automobile key, which can solve the defect that the conventional wireless automobile key has no relay attack prevention capability and improve the safety of automobile control.
In a first aspect, an embodiment of the present invention provides an automobile control method based on a wireless automobile key, which is applied to a wireless automobile key control system, including:
The wireless car key control system sends a first code to a wireless car key, receives a second code fed back by the wireless car key, and identifies and checks the second code, wherein the first code is used for identifying a car provided with the wireless car key control system, and the second code is used for identifying the wireless car key;
the wireless car key control system sends first session data to the wireless car key, receives second session data fed back by the wireless car key, generates a session key, encrypts the second session data by using the session key to generate a first authentication ciphertext, and sends the first authentication ciphertext to the wireless car key;
the wireless car key control system receives a second authentication ciphertext sent by the wireless car key, and decrypts the second authentication ciphertext by using the session key to generate third session data and a fingerprint matching result;
if the first session data is consistent with the third session data and the fingerprint matching result is correct, the wireless car key control system confirms that the identity of the wireless car key is legal and the identity of the user of the wireless car key is legal, and generates an automobile control instruction.
In a second aspect, an embodiment of the present invention provides an automobile control method based on a wireless automobile key, which is applied to a wireless automobile key, and includes:
the wireless car key receives a first code sent by a wireless car key control system, and sends a second code to the wireless car key control system, and the first code is identified and checked, wherein the first code is used for identifying a car provided with the wireless car key control system, and the second code is used for identifying the wireless car key;
the wireless car key receives first session data sent by the wireless car key control system, sends second session data to the wireless car key control system, receives a first authentication ciphertext sent by the wireless car key control system, generates a session key by the wireless car key, and decrypts the first authentication ciphertext by the session key to generate fourth session data;
and if the fourth session data is consistent with the second session data, the wireless car key confirms that the identity of the wireless car key control system is legal, the wireless car key reads fingerprint scanning data and matches the fingerprint scanning data, encrypts a fingerprint matching result and the first session data by using the session key to generate a second authentication ciphertext, and sends the second authentication ciphertext to the wireless car key control system.
In a third aspect, an embodiment of the present invention provides a wireless car key control system, including:
the first processing module is used for sending a first code to the wireless car key, receiving a second code fed back by the wireless car key, and identifying and checking the second code, wherein the first code is used for identifying a car provided with the wireless car key control system, and the second code is used for identifying the wireless car key;
the second processing module is used for sending the first session data to the wireless car key, receiving the second session data fed back by the wireless car key, generating a session key, encrypting the second session data by using the session key to generate a first authentication ciphertext, and sending the first authentication ciphertext to the wireless car key;
the third processing module is used for receiving a second authentication ciphertext sent by the wireless car key and decrypting the second authentication ciphertext by utilizing the session key to generate third session data and a fingerprint matching result;
and the fourth processing module is used for confirming that the identity of the wireless car key is legal and the identity of the user of the wireless car key is legal if the first session data is consistent with the third session data and the fingerprint matching result is correct, and generating an automobile control instruction.
In a fourth aspect, an embodiment of the present invention provides a wireless car key, including:
a fifth processing module, configured to receive a first code sent by a wireless car key control system, and send a second code to the wireless car key control system, and identify and check the first code, where the first code is used to identify a vehicle configured with the wireless car key control system, and the second code is used to identify the wireless car key;
the sixth processing module is used for receiving the first session data sent by the wireless car key control system, sending the second session data to the wireless car key control system, receiving the first authentication ciphertext sent by the wireless car key control system, generating a session key, and decrypting the first authentication ciphertext by using the session key to generate fourth session data;
and the seventh processing module is used for reading fingerprint scanning data and matching the fingerprint scanning data if the identity of the wireless car key control system is legal if the fourth session data is consistent with the second session data, encrypting the fingerprint matching result and the first session data by using the session key to generate a second authentication ciphertext, and sending the second authentication ciphertext to the wireless car key control system.
In a fifth aspect, an embodiment of the present invention provides an electronic device including a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the programs being executed by the processor to implement the wireless car key-based car control method of the first aspect.
In a sixth aspect, an embodiment of the present invention provides an electronic device including a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the programs being executed by the processor to implement the wireless car key-based car control method of the second aspect.
The embodiment of the invention at least comprises the following beneficial effects: the wireless car key control system and the wireless car key mainly implement three stages in the bidirectional authentication process: the vehicle pairing stage, the vehicle owner and vehicle two-way identity authentication stage and the control authority stage of the vehicle judging vehicle key are used for introducing the matching verification of the vehicle owner fingerprint in the control authority stage of the vehicle judging vehicle key, so that the effects of preventing others from opening the vehicle door and starting the engine by utilizing relay attack can be achieved, the property safety of the vehicle owner can be effectively protected, and the safety of vehicle control is improved.
Drawings
Fig. 1 is a schematic structural diagram of an NFC card car key according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an NFC car key control system according to an embodiment of the present invention.
Fig. 3 is a flowchart of an automobile control method based on a wireless automobile key in an embodiment of the invention.
FIG. 4 is a flowchart of another method for controlling an automobile based on a wireless car key according to an embodiment of the invention
Fig. 5 is a diagram of an automobile control algorithm based on a wireless automobile key according to an embodiment of the invention.
Fig. 6 is a schematic diagram of an NFC car key control system according to an embodiment of the invention.
Fig. 7 is a schematic diagram of a system of an NFC card car key according to an embodiment of the invention.
Fig. 8 is a block diagram of an electronic device according to an embodiment of the present invention.
Fig. 9 is a block diagram of another electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that if an orientation description such as upper, lower, front, rear, left, right, etc. is referred to in the specification and claims and the above-described drawings, the orientation or positional relationship indicated is based on the orientation or positional relationship shown in the drawings, only for convenience of describing the present invention and simplifying the description, and does not indicate or imply that the apparatus or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
At least one meaning is one or more, a plurality of meaning is two or more, and greater than, less than, exceeding, etc. are understood to not include the present number, and greater than, less than, within, etc. are understood to include the present number. The description first and second are only for the purpose of distinguishing technical features and should not be construed as indicating or implying relative importance or implying the number of technical features indicated or the precedence of technical features indicated.
The embodiment of the invention provides a car control method based on a wireless car key, wherein the wireless car key can be various but can at least establish wireless communication with a car, referring to fig. 1, an NFC card car key schematic diagram provided in the embodiment of the invention is various, but the implementation of the internal structure of the NFC card car key 100 can be various, but the NFC card car key at least comprises an NFC coil 101, a security module 102, a power management module 103, a fingerprint data processing module 104 and a fingerprint sensor module 105, wherein the power management module 103 can be respectively communicated with the security module 102, the fingerprint data processing module 104 and the fingerprint sensor module 105, and the fingerprint data processing module 104 can be respectively communicated with the security module 102 and the fingerprint sensor module 105. Specifically, the power management module 103 is configured to reasonably distribute current to the security module 102, the fingerprint data processing module 104 and the fingerprint sensor module 105 after the NFC card reader uses electromagnetic induction to supply power to the NFC card; the security module 102 is a brain of the NFC card car key 100, and is mainly used for processing NFC near field communication protocol, car key authentication process and securely storing car key data; the fingerprint sensor module 105 is used for scanning the vehicle owner fingerprint; the fingerprint data processing module 104 is configured to process the original fingerprint data scanned by the fingerprint sensor module 105, extract a feature value of a fingerprint based on a fingerprint technical specification, and transmit the feature value to the security module 102 for fingerprint feature storage or fingerprint matching verification; in addition, the false recognition rate (FAR, false acceptance rate) of the fingerprint sensor module 105 is required to be less than 0.01%, the rejection rate (FRR, false rejection rate) is required to be less than 3%, and the time for the NFC card car key 100 to scan the fingerprint and complete the matching is not more than 1s. In some embodiments, the security module 102 may be a chip that processes NFC near field communication protocol, car authentication logic, and stores car key data, and the fingerprint sensor module 105 may be a chip that scans car owner fingerprints, extracts fingerprint features, and performs fingerprint matching algorithms.
Referring to fig. 2, for a schematic diagram of an NFC car key control system provided in an embodiment of the present application, an NFC car key control system 200 is configured at a car end, and may include an NFC car key authentication processing module 201, a car door NFC card reader module 202, a central NFC card reader module 203, a security module 204, and a car control module 205, where the NFC car key authentication processing module 201 may communicate with other modules respectively, and the car door NFC card reader module 202 may communicate with the central NFC card reader module 203. Specifically, the NFC car key authentication processing module 201 is configured to process an authentication procedure with an NFC card car key, control the door NFC card reader module 202 and the central NFC card reader module 203 to establish a near field communication connection and APDU format data exchange with the NFC card car key, read pre-stored NFC card car key data from the security module 204, and send a car control signal to the car control module 205; the vehicle control module 205 is used to perform vehicle operations, not limited to control operations such as opening a door, closing a door, starting and closing an engine of the vehicle, and the like.
Referring to fig. 3, a flowchart of an automobile control method based on a wireless automobile key according to an embodiment of the present invention is applied to a wireless automobile key control system, and may include, but is not limited to:
Step S301: the wireless car key control system sends a first code to the wireless car key, receives a second code fed back by the wireless car key, and identifies and checks the second code, wherein the first code is used for identifying a vehicle provided with the wireless car key control system, and the second code is used for identifying the wireless car key.
Specifically, the embodiment of the invention verifies the validity of the wireless car key and the car identity based on the authentication key issued by the OEM car factory, and verifies whether the user of the wireless car key is the owner of the car based on a fingerprint matching algorithm in the wireless car key. The first code is a unique number of the automobile end, and the second code is a unique number of the wireless automobile key.
Further, the identifying and checking the second code in step S301 may include, but is not limited to:
step S3011: the wireless car key control system determines whether the second code matches a wireless car key code stored in the wireless car key control system.
Step S3012: the wireless car key control system checks whether the second code is in the first blacklist.
Step S3013: if the second code matches the wireless car key code and the second code is not in the first blacklist, the wireless car key control system confirms that the pairing of the wireless car key with the first code and the wireless car key with the second code is successful.
The first blacklist is a vehicle key blacklist in the wireless vehicle key control system.
Step S302: the wireless car key control system sends first session data to the wireless car key, receives second session data fed back by the wireless car key, generates a session key, encrypts the second session data by using the session key to generate a first authentication ciphertext, and sends the first authentication ciphertext to the wireless car key.
The first session data is automobile end session data which is randomly generated when the wireless automobile key control system initiates an authentication request, and the second session data is automobile key end session data which is responded to the wireless automobile key control system after the automobile key receives the automobile end session data. Before encrypting the authentication ciphertext, the wireless vehicle key control system and the vehicle key are required to generate the same session key by using the same authentication master key and session data, wherein the session data is composed of vehicle-end session data and vehicle-key-end session data.
Step S303: and the wireless car key control system receives the second authentication ciphertext sent by the wireless car key, and decrypts the second authentication ciphertext by using the session key to generate third session data and a fingerprint matching result.
The third session data is decrypted automobile end session data, and is used for comparing with the first session data, namely judging whether the original generated automobile end session data is consistent with the decrypted automobile end session data or not.
Step S304: if the first session data is consistent with the third session data and the fingerprint matching result is correct, the wireless car key control system confirms that the identity of the wireless car key is legal and the identity of the user of the wireless car key is legal, and generates an automobile control instruction.
Referring to fig. 4, an automobile control method based on a wireless automobile key according to an embodiment of the present invention is applied to a wireless automobile key, and may include, but is not limited to:
step S401: the wireless car key receives a first code sent by the wireless car key control system, and sends a second code to the wireless car key control system, and the first code is used for identifying a vehicle provided with the wireless car key control system, and identifying and checking the first code, and the second code is used for identifying the wireless car key.
Further, the identifying and checking the first code in the step S401 may include, but is not limited to:
step S4011: the wireless car key determines whether the first code matches a wireless car key control system code stored in the wireless car key.
Step S4012: the wireless car key checks whether the first code is in the second blacklist.
The second blacklist is a blacklist of a wireless car key control system in the wireless car keys.
Step S4013: if the first code matches the wireless car key control system code and the first code is not in the second blacklist, the wireless car key confirms that the pairing of the vehicle with the first code and the wireless car key with the second code is successful.
Step S402: the wireless car key receives the first session data sent by the wireless car key control system, sends the second session data to the wireless car key control system, receives the first authentication ciphertext sent by the wireless car key control system, generates a session key by the wireless car key, and decrypts the first authentication ciphertext by the session key to generate fourth session data.
The vehicle key and the wireless vehicle key control system generate the same session key by using the same authentication master key and session data corresponding to the step S302, where the session data is a composition of vehicle-end session data and vehicle-key-end session data. The fourth session data is decrypted wireless car key end session data, and is used for comparing with the second session data, namely judging whether the original generated car key end session data is consistent with the decrypted car key end session data or not.
Step S403: if the fourth session data is consistent with the second session data, the wireless car key confirms that the identity of the wireless car key control system is legal, the wireless car key reads fingerprint scanning data and matches the fingerprint scanning data, the session key is used for encrypting the fingerprint matching result and the first session data to generate a second authentication ciphertext, and the second authentication ciphertext is sent to the wireless car key control system.
Further, in the step S403, the wireless car key reads the fingerprint scan data and matches the fingerprint scan data, which may include but is not limited to:
step S4031: and comparing whether the fingerprint scanning data of the wireless car key is matched with the preset fingerprint of the car owner in the wireless car key.
Step S4032: if the fingerprint scanning data is matched with the vehicle owner fingerprint preset in the wireless vehicle key, the wireless vehicle key confirms that the identity of the user of the wireless vehicle key is legal.
Based on the NFC card car key in fig. 1 and the NFC car key control system in fig. 2, it is first required that a car owner presses a finger, which has already recorded fingerprint data, on a fingerprint sensor of a car key, and attaches the car key to an NFC card reader of a car body, when the NFC card reader of the car detects the NFC card car key, a near field communication connection is established, and an authentication process for the car key is started, where the car key authentication process includes three main stages: the first stage is vehicle pairing, the second stage is mutual identity authentication of the vehicle owner and the vehicle, and the third stage is vehicle judging the control authority of the vehicle key.
The NFC car key control system at the car end in the car pairing process recognizes and checks the code by sending a unique code of the car, namely a first code, to the NFC card car key, and simultaneously requires the NFC card car key to respond to the unique code of the car key, namely a second code, to the NFC car key control system, and recognizes and checks the code by the NFC car key control system, wherein the unique code of the NFC card car key is a unique code distributed by an automobile OEM factory for each NFC card car key, and the unique code of the car is a unique code distributed by the automobile OEM factory for each car. The automobile NFC car key control system and the NFC card car key have stored unique numbers of both sides, and the identification of the second code is to compare whether the code is the same as the stored unique number of the NFC card car key; in addition, the NFC car key control system and the NFC card car key are provided with respective blacklists, wherein the first blacklist is the blacklist of the NFC car key control system aiming at the car key, and the second code is checked to judge that the second code is not in the blacklist of the car key of the NFC car key control system; if the above condition is satisfied, it is indicated that the vehicle and the vehicle key are successfully paired.
After pairing is completed, the automobile NFC car key control system actively initiates a bidirectional identity authentication process request, the bidirectional identity authentication is based on a symmetric encryption and decryption algorithm, the NFC card car key and the automobile NFC car key control system must use the same identity authentication master key, then the two parties obtain a session key based on session data which are different in each bidirectional identity authentication, and the session key is used for calculating to generate an identity authentication ciphertext, and the steps correspond to the steps of: the wireless car key control system generates a session key, and encrypts second session data by using the session key to generate a first authentication ciphertext; and the wireless car key generates a session key, and encrypts the fingerprint matching result and the first session data by using the session key to generate a second authentication ciphertext.
The bidirectional identity authentication process comprises the following steps: after receiving the request of the two-way identity authentication process, the NFC card car key starts a fingerprint sensor on the card to execute fingerprint scanning of the car owner, and if no fingerprint is detected, the NFC card car key control system responds to failure of the two-way identity authentication and refuses to execute car control operation requested by the car key; if the fingerprint is detected on the fingerprint sensor, preprocessing the fingerprint data, transmitting the fingerprint data to a security module of the NFC card car key for fingerprint matching verification, and temporarily storing a matching result, wherein the matching result is successful or failed; and after the NFC card car key finishes fingerprint matching, encrypting the fingerprint matching result by using the session key to generate a car key identity authentication ciphertext, namely a second authentication ciphertext in the steps, and responding to the car NFC car key control system.
The automobile NFC automobile key authentication system checks an automobile key identity authentication ciphertext, and the method comprises the following steps of: firstly, the automobile NFC automobile key control system decrypts an automobile key identity authentication ciphertext by using the same session key and decryption algorithm; then, checking whether the decrypted vehicle key data format is correct or not, wherein the data format is customized by an automobile OEM factory; if the automobile NFC automobile key control system checks that the matching of the fingerprints of the automobile owners is unsuccessful, refusing to execute the automobile control operation requested by the automobile key; when the conditions are met, the automobile NFC automobile key control system allows automobile control operation requested by an automobile key, and sends corresponding automobile control instructions to an automobile control module to finish the automobile control operation.
Referring to fig. 5, an automobile control algorithm diagram based on a wireless automobile key is provided in an embodiment of the present invention. The algorithm is further described with reference to fig. 1 and 2:
step S501: the vehicle owner needs to slightly press the matched finger on the fingerprint sensor before pressing the vehicle key to the position of the automobile NFC reader, and then press the matched finger to the NFC reader, and when the automobile NFC reader detects the NFC card vehicle key 100, a near field communication connection based on the standard IEEE14443 contactless communication protocol is established, and it is noted that the NFC reader may be the automobile door NFC reader module 202 or the central control NFC reader module 203.
Step S502: after the NFC card car key 100 establishes a communication connection with the NFC card reader, the car key authentication process is started from the car NFC car key control system 200 end: the NFC car key control system 200 sends a car key application selection instruction to the NFC card car key 100 through the NFC reader, wherein the selection instruction contains a car key Application Identification (AID) that is uniformly customized by the OEM car factory or industry alliance in which the OEM car factory participates. If the NFC card car key 100 cannot identify the car key application AID, step S504 is performed, otherwise step S503 is continued.
Step S503: after the NFC car key control system 200 successfully selects the NFC car key application, the pairing process of the car and the car key is continuously performed: the NFC car key control system 200 sends a car key authentication initialization command, where the data field of the initialization command at least includes a car unique number and session data, and the purpose of the car end session data is to protect the authentication master key of both parties, and a random number may be used. After receiving the car unique number and the session data, the NFC card car key 100 checks whether the car unique number exists, and the 'presence check' is that the externally input car unique number is compared with the car unique number preset in the NFC card car key 100 by the OEM car factory; if the NFC card car key 100 checks that the currently input car unique number does not exist, step S504 is performed. If the NFC card car key 100 checks that the currently input car unique number exists, in response to the car key unique number and the car key end session data, the NFC car key control system 200 receives and checks whether the car key unique number is legal, where the legal is both existing and not in the car key blacklist, and if the car key is illegal, step S504 is executed; otherwise, step S505 is continued.
Step S504: the vehicle pairing fails, the automobile NFC car key control system no longer performs the subsequent car key authentication process, disconnects the near field communication with the NFC card car key 100 and denies the car control operation of the car key application.
Step S505: after the pairing of the vehicle and the vehicle key is completed, the NFC vehicle key control system 200 and the NFC card vehicle key 100 generate the same session key by using the same authentication master key, session data and a session key calculation method, wherein the session data is formed by vehicle-end session data and vehicle-key-end session data; and continuously executing the identity validity authentication of the car key and the car.
Step S506: the NFC car key control system 200 encrypts car key side session data using the session key generated in step S505 to generate a car side identity authentication ciphertext and transmits the car side identity authentication ciphertext to the NFC card car key 100. The NFC card car key 100 also decrypts the session key generated in step S505, compares the decrypted session data with the car key end session data generated in step S503, if not, executes step S504, if so, verifies that the NFC car key control system 200 is legal, and further verifies that the car key user is legal: the validity verification of the car key user is to compare whether the fingerprint of the current car key user is matched with the preset car owner fingerprint in the car key, if no fingerprint is detected by the fingerprint sensor module 105 in the current NFC card car key 100 or the fingerprint is detected but the fingerprint is verified by the security module 102, the user is considered to be not the car owner, otherwise, the user is considered to be the car owner. The NFC card car key 100 generates a car key identity authentication ciphertext by using the session key encryption fingerprint matching result and the car-end session data received in step S503, and responds to the NFC car key control system 200 to continue to execute step S507.
Step S507: the NFC car key control system 200 decrypts the car key identity authentication ciphertext responded by the NFC card car key 100 by using the session key generated in step S504, compares car end session data therein, and if the session data are inconsistent, executes step S504; otherwise, further detecting the fingerprint matching result of the car key user, and executing step S504 if the car key user is not the owner; otherwise, the vehicle key passes the authentication, and sends a vehicle control signal to the vehicle control module 205 to complete the vehicle control operation. The car control signal type is designed by the NFC car key control system 200 according to factors such as the type of the car NFC reader and the current state of the car.
The embodiment of the invention at least comprises the following beneficial effects: the wireless car key control system and the wireless car key mainly implement three stages in the bidirectional authentication process: the vehicle pairing stage, the vehicle owner and vehicle two-way identity authentication stage and the control authority stage of the vehicle judging vehicle key are used for introducing the matching verification of the vehicle owner fingerprint in the control authority stage of the vehicle judging vehicle key, so that the effects of preventing others from opening the vehicle door and starting the engine by utilizing relay attack can be achieved, the property safety of the vehicle owner can be effectively protected, and the safety of vehicle control is improved.
Referring to fig. 6, a wireless car key control system provided in an embodiment of the present invention may include, but is not limited to:
the first processing module 601 is configured to send a first code to the wireless car key, receive a second code fed back by the wireless car key, and identify and check the second code, where the first code is used to identify a vehicle configured with a wireless car key control system, and the second code is used to identify the wireless car key.
The second processing module 602 is configured to send the first session data to the wireless car key, receive the second session data fed back by the wireless car key, generate a session key, encrypt the second session data with the session key to generate a first authentication ciphertext, and send the first authentication ciphertext to the wireless car key, where the session data is the first session data or the second session data.
The third processing module 603 is configured to receive a second authentication ciphertext sent by the wireless car key, and decrypt the second authentication ciphertext with the session key to generate third session data and a fingerprint matching result.
And a fourth processing module 604, configured to confirm that the identity of the wireless car key is legal and that the user of the wireless car key is legal if the first session data is consistent with the third session data and the fingerprint matching result is correct, and generate a car control command.
Referring to fig. 7, a wireless car key according to an embodiment of the present invention may include, but is not limited to:
the fifth processing module 701 is configured to receive a first code sent by the wireless car key control system, and send a second code to the wireless car key control system, and identify and check the first code, where the first code is used to identify a vehicle configured with the wireless car key control system, and the second code is used to identify a wireless car key.
The sixth processing module 702 is configured to receive the first session data sent by the wireless car key control system, send the second session data to the wireless car key control system, receive the first authentication ciphertext sent by the wireless car key control system, generate a session key, and decrypt the first authentication ciphertext with the session key to generate fourth session data, where the session data is the first session data or the second session data.
The seventh processing module 703 is configured to, if the fourth session data is consistent with the second session data, confirm that the identity of the wireless car key control system is legal, read the fingerprint scan data, match the fingerprint scan data, encrypt the fingerprint match result and the first session data with the session key to generate a second authentication ciphertext, and send the second authentication ciphertext to the wireless car key control system.
An embodiment of the present invention provides an electronic device, as shown in fig. 8, including a memory 801 and a processor 802; a memory 801 for storing one or more computer programs; the processor 802 is configured to implement the vehicle control method based on the wireless vehicle key according to the first aspect of the present invention when executing the program stored in the memory 801.
Another electronic device is provided according to an embodiment of the present invention, as shown in fig. 9, and includes a memory 901 and a processor 902; a memory 901 for storing one or more computer programs; the processor 902 is configured to implement the vehicle control method based on the wireless vehicle key according to the first aspect of the present invention when executing the program stored in the memory 901.
The embodiment of the invention provides a computer readable storage medium, wherein instructions are stored in the computer readable storage medium, and when the computer readable storage medium runs on a computer, the computer is caused to execute the automobile control method based on the wireless automobile key.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for electronic device and computer readable storage medium embodiments, the description is relatively simple as it is substantially similar to method embodiments, with reference to the section of the method embodiments being relevant.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (10)

1. The automobile control method based on the wireless automobile key is applied to a wireless automobile key control system and is characterized in that the wireless automobile key control system comprises an NFC card reader module, a first safety module, an NFC automobile key authentication processing module and an automobile control module, wherein the NFC automobile key authentication processing module is respectively connected with the NFC card reader module, the first safety module and the automobile control module, and comprises the following steps:
the wireless car key control system sends a first code to a wireless car key, receives a second code fed back by the wireless car key, and identifies and checks the second code, wherein the first code is used for identifying a car configured with the wireless car key control system, the second code is used for identifying the wireless car key, the wireless car key is an NFC card car key, the NFC card car key comprises an NFC coil, a second security module, a power management module, a fingerprint data processing module and a fingerprint sensor module, the power management module is respectively communicated with the second security module, the fingerprint data processing module and the fingerprint sensor module, the fingerprint data processing module is respectively communicated with the second security module and the fingerprint sensor module, and the power management module is powered by the NFC card reader module through electromagnetic induction;
The wireless car key control system sends first session data to the wireless car key, receives second session data fed back by the wireless car key, generates a session key, encrypts the second session data by using the session key to generate a first authentication ciphertext, and sends the first authentication ciphertext to the wireless car key;
the wireless car key control system receives a second authentication ciphertext sent by the wireless car key, decrypts the second authentication ciphertext by utilizing the session key to generate third session data and a fingerprint matching result, and the fingerprint matching result is obtained by extracting a characteristic value from original fingerprint data obtained by scanning the fingerprint sensor module by the fingerprint data processing module, and transmitting the characteristic value to the security module for fingerprint matching verification;
if the first session data is consistent with the third session data and the fingerprint matching result is correct, the wireless car key control system confirms that the identity of the wireless car key is legal and the identity of the user of the wireless car key is legal, and generates an automobile control instruction.
2. The wireless car key based car control method according to claim 1, wherein said identifying and checking said second code comprises:
The wireless car key control system judges whether the second code is matched with the wireless car key code stored in the wireless car key control system;
the wireless car key control system checks whether the second code is in a first blacklist;
if the second code matches the wireless car key code and the second code is not in the first blacklist, the wireless car key control system confirms that the pairing of the vehicle with the first code and the wireless car key with the second code is successful.
3. The utility model provides a car control method based on wireless car key, is applied to wireless car key, its characterized in that, wireless car key is NFC card car key, NFC card car key includes NFC coil, second security module, power management module, fingerprint data processing module and fingerprint sensor module, wherein, power management module respectively with the second security module fingerprint data processing module with fingerprint sensor module communicates, fingerprint data processing module respectively with second security module and fingerprint sensor module, power management module uses electromagnetic induction to supply power by wireless car key control system's NFC card reader module, wireless car key control system includes NFC card reader module, first security module, NFC car key authentication processing module and car control module, NFC car key authentication processing module respectively with NFC card reader module, first security module and car control module connect, the method includes:
The wireless car key receives a first code sent by the wireless car key control system, sends a second code to the wireless car key control system, and identifies and checks the first code, wherein the first code is used for identifying a vehicle provided with the wireless car key control system, and the second code is used for identifying the wireless car key;
the wireless car key receives first session data sent by the wireless car key control system, sends second session data to the wireless car key control system, receives a first authentication ciphertext sent by the wireless car key control system, generates a session key by the wireless car key, and decrypts the first authentication ciphertext by the session key to generate fourth session data;
and if the fourth session data is consistent with the second session data, the wireless car key confirms that the identity of the wireless car key control system is legal, the wireless car key reads fingerprint scanning data and matches the fingerprint scanning data, a second authentication ciphertext is generated by encrypting a fingerprint matching result and the first session data by using the session key, and the second authentication ciphertext is sent to the wireless car key control system, wherein the fingerprint matching result is obtained by extracting a characteristic value from original fingerprint data obtained by scanning the fingerprint sensor module by the fingerprint data processing module and transmitting the characteristic value to the second security module for fingerprint matching verification.
4. A wireless car key based car control method according to claim 3, wherein said identifying and checking said first code comprises:
the wireless car key judges whether the first code is matched with the wireless car key control system code stored in the wireless car key;
the wireless car key checks whether the first code is in a second blacklist;
and if the first code is matched with the wireless car key control system code and the first code is not in the second blacklist, the wireless car key confirms that the pairing of the vehicle with the first code and the wireless car key with the second code is successful.
5. The wireless car key-based car control method as set forth in claim 3, wherein the wireless car key reads fingerprint scan data and matches the fingerprint scan data, comprising:
the wireless car key compares whether the fingerprint scanning data are matched with a car owner fingerprint preset in the wireless car key;
and if the fingerprint scanning data is matched with the vehicle owner fingerprint preset in the wireless vehicle key, the wireless vehicle key confirms that the identity of the user of the wireless vehicle key is legal.
6. The utility model provides a based on wireless car key control system, its characterized in that, wireless car key control system includes NFC card reader module, first safety module, NFC car key authentication processing module and car control module, NFC car key authentication processing module respectively with NFC card reader module first safety module and car control module is connected, NFC card reader module uses electromagnetic induction to give wireless car key's power management module power supply, wireless car key is NFC card car key, NFC card car key includes NFC coil, second safety module, power management module, fingerprint data processing module and fingerprint sensor module, wherein, power management module respectively with second safety module fingerprint data processing module with fingerprint sensor module communicates, fingerprint data processing module respectively with second safety module and fingerprint sensor module communicate, based on wireless car key control system still includes:
the first processing module is used for sending a first code to the wireless car key, receiving a second code fed back by the wireless car key, and identifying and checking the second code, wherein the first code is used for identifying a vehicle provided with the wireless car key control system, and the second code is used for identifying the wireless car key;
The second processing module is used for sending the first session data to the wireless car key, receiving the second session data fed back by the wireless car key, generating a session key, encrypting the second session data by using the session key to generate a first authentication ciphertext, and sending the first authentication ciphertext to the wireless car key;
the third processing module is used for receiving a second authentication ciphertext sent by the wireless car key, decrypting the second authentication ciphertext by utilizing the session key to generate third session data and a fingerprint matching result, wherein the fingerprint matching result is obtained by extracting a characteristic value from original fingerprint data obtained by scanning the fingerprint sensor module by the fingerprint data processing module, and transmitting the characteristic value to the security module for fingerprint matching verification;
and the fourth processing module is used for confirming that the identity of the wireless car key is legal and the identity of the user of the wireless car key is legal if the first session data is consistent with the third session data and the fingerprint matching result is correct, and generating an automobile control instruction.
7. The utility model provides a wireless car key, its characterized in that, wireless car key is NFC card car key, NFC card car key includes NFC coil, second security module, power management module, fingerprint data processing module and fingerprint sensor module, wherein, power management module respectively with the second security module fingerprint data processing module with fingerprint sensor module communicates, fingerprint data processing module respectively with second security module and fingerprint sensor module communicate, power management module uses electromagnetic induction to supply power by wireless car key control system's NFC card reader module, wireless car key control system includes NFC card reader module, NFC car key authentication processing module, first security module and car control module, NFC car key authentication processing module respectively with NFC card reader module first security module and car control module connects, wireless car key still includes:
A fifth processing module, configured to receive a first code sent by a wireless car key control system, and send a second code to the wireless car key control system, and identify and check the first code, where the first code is used to identify a vehicle configured with the wireless car key control system, and the second code is used to identify the wireless car key;
the sixth processing module is used for receiving the first session data sent by the wireless car key control system, sending the second session data to the wireless car key control system, receiving the first authentication ciphertext sent by the wireless car key control system, generating a session key, and decrypting the first authentication ciphertext by using the session key to generate fourth session data;
and a seventh processing module, configured to, if the fourth session data is consistent with the second session data, confirm that the identity of the wireless car key control system is legal, read fingerprint scan data, match the fingerprint scan data, encrypt a fingerprint matching result and the first session data by using the session key to generate a second authentication ciphertext, and send the second authentication ciphertext to the wireless car key control system, where the fingerprint matching result is obtained by extracting a feature value from original fingerprint data obtained by scanning the fingerprint sensor module by the fingerprint data processing module, and transmitting the feature value to the second security module for fingerprint matching verification.
8. An electronic device comprising a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the wireless car key based car control method of any of claims 1-2.
9. An electronic device comprising a processor, a memory, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the wireless car key based car control method of any of claims 3-5.
10. A computer readable storage medium, characterized in that a program instruction executable by a processor is stored, said program instruction being used for executing the wireless car key based car control method according to any one of claims 1-5.
CN202211047690.7A 2022-08-30 2022-08-30 Automobile control method and system based on wireless automobile key, electronic equipment and storage medium Active CN115565268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211047690.7A CN115565268B (en) 2022-08-30 2022-08-30 Automobile control method and system based on wireless automobile key, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211047690.7A CN115565268B (en) 2022-08-30 2022-08-30 Automobile control method and system based on wireless automobile key, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115565268A CN115565268A (en) 2023-01-03
CN115565268B true CN115565268B (en) 2024-04-05

Family

ID=84738392

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211047690.7A Active CN115565268B (en) 2022-08-30 2022-08-30 Automobile control method and system based on wireless automobile key, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115565268B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102700502A (en) * 2012-05-08 2012-10-03 广东好帮手电子科技股份有限公司 Vehicle access control method and vehicle access system
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device
CN110177354A (en) * 2019-06-21 2019-08-27 湖北亿咖通科技有限公司 A kind of wireless control method and system of vehicle
CN110189442A (en) * 2019-05-28 2019-08-30 上海银基信息安全技术股份有限公司 Authentication method and device
CN110406498A (en) * 2019-07-12 2019-11-05 深圳市元征科技股份有限公司 A kind of control method for vehicle and device
CN111669399A (en) * 2020-06-17 2020-09-15 上海越域智能科技有限公司 Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode
CN111976650A (en) * 2020-07-29 2020-11-24 上海果通通信科技股份有限公司 Non-contact automobile key implementation method and device
CN213303112U (en) * 2020-06-10 2021-05-28 国汽(北京)智能网联汽车研究院有限公司 Remote control key and vehicle safety starting system
CN114120487A (en) * 2021-10-27 2022-03-01 广州奇兵电子科技有限公司 Automobile digital key management method, system, equipment and storage medium
CN114419765A (en) * 2022-01-18 2022-04-29 上汽通用五菱汽车股份有限公司 Method and device for realizing vehicle safety control by NFC card and readable storage medium
CN114715075A (en) * 2021-01-04 2022-07-08 现代自动车株式会社 Vehicle authentication system and method based on BLE and fingerprint mode

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102700502A (en) * 2012-05-08 2012-10-03 广东好帮手电子科技股份有限公司 Vehicle access control method and vehicle access system
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device
CN110189442A (en) * 2019-05-28 2019-08-30 上海银基信息安全技术股份有限公司 Authentication method and device
CN110177354A (en) * 2019-06-21 2019-08-27 湖北亿咖通科技有限公司 A kind of wireless control method and system of vehicle
CN110406498A (en) * 2019-07-12 2019-11-05 深圳市元征科技股份有限公司 A kind of control method for vehicle and device
CN213303112U (en) * 2020-06-10 2021-05-28 国汽(北京)智能网联汽车研究院有限公司 Remote control key and vehicle safety starting system
CN111669399A (en) * 2020-06-17 2020-09-15 上海越域智能科技有限公司 Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode
CN111976650A (en) * 2020-07-29 2020-11-24 上海果通通信科技股份有限公司 Non-contact automobile key implementation method and device
CN114715075A (en) * 2021-01-04 2022-07-08 现代自动车株式会社 Vehicle authentication system and method based on BLE and fingerprint mode
CN114120487A (en) * 2021-10-27 2022-03-01 广州奇兵电子科技有限公司 Automobile digital key management method, system, equipment and storage medium
CN114419765A (en) * 2022-01-18 2022-04-29 上汽通用五菱汽车股份有限公司 Method and device for realizing vehicle safety control by NFC card and readable storage medium

Also Published As

Publication number Publication date
CN115565268A (en) 2023-01-03

Similar Documents

Publication Publication Date Title
US11012438B2 (en) Biometric device pairing
US8843760B2 (en) Biometric identification method
EP2774098B1 (en) Authentication method
US9003516B2 (en) System and method for encrypted smart card pin entry
US8302176B2 (en) Validity checking system, validity checking method, information processing card, checking device, and authentication apparatus
US20140115324A1 (en) System and Method for Secure Remote Biometric Authentication
JPWO2007094165A1 (en) Identification system and program, and identification method
GB2452116A (en) A unique user identify created from a biometric value
EP3453578A1 (en) Unlocking control system and unlocking control method
CN109067881B (en) Remote authorization method, device, equipment and storage medium thereof
CN105553926A (en) Authentication method, server, and terminal
CN114120487B (en) Automobile digital key management method, system, equipment and storage medium
JP2006099724A (en) Network printing system, printer, facsimile communication system, and facsimile apparatus
CN115527292A (en) Mobile phone terminal remote vehicle unlocking method of security chip and security chip device
CN117424709B (en) Login method and device of terminal device and readable storage medium
CN113591057B (en) Biological characteristic off-line identity recognition method and system
CN111063070B (en) Digital key sharing method, digital key verification method and digital key verification equipment
CN115565268B (en) Automobile control method and system based on wireless automobile key, electronic equipment and storage medium
CN209070615U (en) Electronics unlocking system
JP7057944B2 (en) Authentication system and authentication method
CN109493497A (en) Electronics unlocking system
CN109109814A (en) A kind of vehicle open method, device and computer storage medium based on NFC identification
WO2011006295A1 (en) Authentication method for user identification equipment
KR20190110889A (en) Visitor Certification System based on Wireless Body Area Network and Method thereof
KR102596072B1 (en) Method and system for authenticating bio information

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