CN115102726B - Dual authentication matching method, device, system and equipment for remote key - Google Patents

Dual authentication matching method, device, system and equipment for remote key Download PDF

Info

Publication number
CN115102726B
CN115102726B CN202210638392.9A CN202210638392A CN115102726B CN 115102726 B CN115102726 B CN 115102726B CN 202210638392 A CN202210638392 A CN 202210638392A CN 115102726 B CN115102726 B CN 115102726B
Authority
CN
China
Prior art keywords
data
remote control
key
matching
control key
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
CN202210638392.9A
Other languages
Chinese (zh)
Other versions
CN115102726A (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.)
Dongfeng Liuzhou Motor Co Ltd
Original Assignee
Dongfeng Liuzhou Motor 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 Dongfeng Liuzhou Motor Co Ltd filed Critical Dongfeng Liuzhou Motor Co Ltd
Priority to CN202210638392.9A priority Critical patent/CN115102726B/en
Publication of CN115102726A publication Critical patent/CN115102726A/en
Application granted granted Critical
Publication of CN115102726B publication Critical patent/CN115102726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a double authentication matching method, a device, a system and equipment of a remote control key, wherein the method is used for receiving first identity data sent by a target remote control key, simultaneously calculating and obtaining first handshake data and second handshake data by a device for implementing the method and the remote control key according to the first identity data of the remote control key, and combining the first handshake data and the second handshake data according to authenticity data obtained by a control platform to carry out matching judgment of the remote control key. Compared with the traditional unidirectional matching, the invention immediately carries out consistency comparison judgment after generating the handshake data without decryption, realizes double authentication matching of the remote control key and improves the matching efficiency of the remote control key.

Description

Dual authentication matching method, device, system and equipment for remote key
Technical Field
The invention relates to the field of vehicle safety, in particular to a double authentication matching method, device, system and equipment for a remote control key.
Background
In the automotive field, a remote control key is generally used for simple operations such as unlocking an automobile and opening a trunk, and when the key is lost, the key needs to be matched with a vehicle, so that the key needs to be used.
At present, the matching method of the remote control key is generally divided into two types, one type of remote control key is complex in matching, and the matching can be generally performed only by going to special institutions or special equipment of professional staff, so that the flexibility is poor, and the time consumption is long. The driver who drives the car is usually more tense, can't take long time to match the remote control key. The other matching method is flexible, but the matching method is one-way matching, the random number generated by the matching equipment is firstly sent to the remote control key, then the remote control key encrypts the random number into handshake data and sends the handshake data back to the matching equipment, and the matching equipment decrypts the handshake data, so that the matching is carried out by comparing whether the random numbers are consistent or not. The method has poor safety, and more problems occur in the using process, such as matching of one remote control key with a plurality of vehicles.
Therefore, a matching strategy of the remote control key is needed to solve the problem of low matching efficiency of the current remote control key.
Disclosure of Invention
The embodiment of the invention provides a double authentication matching method, device, system and equipment for a remote control key, which are used for improving the matching efficiency of the remote control key.
In order to solve the above-mentioned problems, an embodiment of the present invention provides a dual authentication matching method for a remote key, including:
receiving first identity data sent by a target remote control key;
generating first handshake data and authenticity inquiry data according to the first identity data, and receiving second handshake data generated by the target remote control key according to the first identity data;
and receiving the authenticity data fed back by the control platform according to the authenticity inquiry data, and carrying out matching judgment on the target remote control key according to the first handshake data, the second handshake data and the authenticity data.
From the above, the invention has the following beneficial effects:
the invention provides a double authentication matching method of a remote control key, which is characterized in that first identity data sent by a target remote control key is received, according to the first identity data of the remote control key, first handshake data and second handshake data are obtained through simultaneous calculation by a device for implementing the method and the remote control key, and matching judgment of the remote control key is carried out by combining the first handshake data and the second handshake data according to authenticity data obtained by a control platform. Compared with the traditional unidirectional matching, the invention immediately carries out consistency comparison judgment after generating the handshake data without decryption, realizes double authentication matching of the remote control key and improves the matching efficiency of the remote control key.
As an improvement of the above solution, the matching judgment of the target remote key according to the first handshake data, the second handshake data, and the authenticity data specifically includes:
when the true and false data is false, the matching fails;
when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails;
and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
By implementing the improvement scheme of the embodiment, whether the first identity data of the remote control key is stored in the control platform is determined by judging the authenticity data, and whether the remote control key is matched is judged by comparing the consistency of the first handshake data and the second handshake data, so that the matching of the remote control key is completed.
As an improvement of the above solution, the generating first handshake data according to the first identity data specifically includes:
the first body data includes: a random number and a serial number;
and calculating according to the random number through a preset first secret key to obtain first handshake data.
According to the implementation of the improvement scheme of the embodiment, the equipment for implementing the embodiment calculates the random number through the first key, so that the authentication encryption work of the remote control key double authentication matching one side is realized.
As an improvement of the above solution, the second handshake data generated by the target remote control key according to the first identity data specifically includes: and the target remote control key calculates second handshake data through a preset second key according to the random number.
According to the implementation of the improvement scheme of the embodiment, the equipment for implementing the embodiment calculates the random number through the second key, so that the authentication encryption work of the other side in the double authentication matching of the remote control key is realized.
As an improvement of the above scheme, the control platform feeds back the authenticity data according to the authenticity inquiry data, specifically:
the control platform receives the true and false inquiry data; wherein, the authenticity inquiry data comprises: second request data and a sequence number;
and the control platform queries the serial number through the serial number matching summary table according to the second request data, and obtains true and false data.
By implementing the improvement scheme of the embodiment, the control platform can receive and process the authenticity inquiry data, and after receiving the second request data, the target key serial number is inquired through the serial number matching summary table, so that the authenticity of the target remote control key is confirmed.
As an improvement of the above solution, after the matching is successful when the first handshake data and the second handshake data are identical, the method further includes:
storing the serial number of the target remote control key, and deleting the original historical serial number;
and sending the serial number of the target remote control key and the vehicle information to the control platform so that the control platform updates the serial number matching summary table according to the serial number of the target remote control key and the vehicle information.
After the improvement scheme of the embodiment is implemented, after the matching is successful, the historical serial number is erased, so that illegal persons can be effectively prevented from stealing the vehicle through the historical remote control key. The serial number matching summary list is updated, so that one remote control key can be matched with only one vehicle, and when the matched remote control key tries to match with other vehicles, the matched remote control key cannot be matched with other vehicles due to the updated serial number matching summary list, so that the safety of the remote control key matching method is further improved.
As an improvement of the above solution, before the receiving the first identification data sent by the target remote control key, the method further includes:
receiving a first request signal; the first request signal is generated after a user executes a preset starting operation;
and generating first request data according to the first request signal, and sending the first request data to the target remote control key, so that the target remote control key generates first identity data according to the first request data.
By implementing the improvement scheme of the embodiment, the first request signal is generated through the preset starting sequence, so that a matching request can be prevented from being sent out by mistake due to false touch, meanwhile, a user does not need to resort to any equipment when sending out the matching request, the operation is simple, and the popularity of a remote control key matching method is improved; meanwhile, first request data are generated according to the first request signal, so that the target remote control key generates first identity data according to the first request data, and a foundation is laid for follow-up double authentication matching.
Correspondingly, an embodiment of the present invention further provides a dual authentication matching device for a remote key, including: the device comprises a receiving module, a generating module and a matching judging module;
the receiving module is used for receiving first identity data sent by the target remote control key;
the generating module is used for generating first handshake data and authenticity inquiry data according to the first identity data, and receiving second handshake data generated by the target remote control key according to the first identity data;
and the matching judgment module is used for receiving the authenticity data fed back by the control platform according to the authenticity inquiry data and carrying out matching judgment on the target remote control key according to the first handshake data, the second handshake data and the authenticity data.
As an improvement of the above solution, the matching judgment of the target remote key according to the first handshake data, the second handshake data, and the authenticity data specifically includes:
when the true and false data is false, the matching fails;
when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails;
and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
As an improvement of the above solution, the generating first handshake data according to the first identity data specifically includes:
the first body data includes: a random number and a serial number;
and calculating according to the random number through a preset first secret key to obtain first handshake data.
As an improvement of the above solution, the second handshake data generated by the target remote control key according to the first identity data specifically includes: and the target remote control key calculates second handshake data through a preset second key according to the random number.
As an improvement of the above scheme, the control platform feeds back the authenticity data according to the authenticity inquiry data, specifically:
the control platform receives the true and false inquiry data; wherein, the authenticity inquiry data comprises: second request data and a sequence number;
and the control platform queries the serial number through the serial number matching summary table according to the second request data, and obtains true and false data.
As an improvement of the above solution, after the matching is successful when the first handshake data and the second handshake data are identical, the method further includes:
storing the serial number of the target remote control key, and deleting the original historical serial number;
and sending the serial number of the target remote control key and the vehicle information to the control platform so that the control platform updates the serial number matching summary table according to the serial number of the target remote control key and the vehicle information.
As an improvement of the above solution, before the receiving the first identification data sent by the target remote control key, the method further includes:
receiving a first request signal; the first request signal is generated after a user executes a preset starting operation;
and generating first request data according to the first request signal, and sending the first request data to the target remote control key, so that the target remote control key generates first identity data according to the first request data.
Correspondingly, an embodiment of the present invention further provides a dual authentication matching system for a remote key, including: the remote control key double authentication matching device, the target remote control key, the vehicle-mounted communication equipment and the control platform; the remote control key double authentication matching device is applied to the remote control key double authentication matching method; the target remote control key is connected with the double authentication matching device of the remote control key, and the double authentication matching device of the remote control key is connected with the control platform through the vehicle-mounted communication equipment.
Correspondingly, an embodiment of the invention also provides a computer terminal device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor realizes the double authentication matching method of the remote control key when executing the computer program.
Drawings
FIG. 1 is a flow chart of a dual authentication matching method for a remote key according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a dual authentication matching device for a remote key according to an embodiment of the present invention;
FIG. 3 is a flow chart of a dual authentication matching method for a remote key according to another embodiment of the present invention;
FIG. 4 is a schematic diagram of a dual authentication matching system for a remote key according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal 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.
Example 1
Referring to fig. 1, fig. 1 is a flow chart of a dual authentication matching method of a remote key according to an embodiment of the present invention, as shown in fig. 1, the embodiment includes steps 101 to 104, and the steps are specifically as follows:
step 101: and receiving the first identity data sent by the target remote control key.
In this embodiment, before the receiving the first identity data sent by the target remote control key, the method further includes:
receiving a first request signal; the first request signal is generated after a user executes a preset starting operation;
and generating first request data according to the first request signal, and sending the first request data to the target remote control key, so that the target remote control key generates first identity data according to the first request data.
In a specific embodiment, the dual authentication matching method of the key fob of the present embodiment is performed by the body controller BCM.
In a specific embodiment, when the vehicle electric lock switch is in the OFF gear, the user performs the following operations: inserting a mechanical key sheet of a received new remote control key (namely a target remote control key) into the electric lock switch, and turning OFF the ignition switch from OFF to ON to OFF within 10 seconds; unlocking, locking, unlocking, locking and unlocking are performed within 10 seconds; at this time, after the car body controller BCM (i.e. the device for executing the double authentication matching method of the remote control key) recognizes the series of operations, the driver is considered to have a matching remote control requirement, at this time, a handshake request signal is sent through a radio frequency signal, and the steering lamp is driven to flash once, so that the matching process is indicated; if the turn signal lamp does not flash, the operation failure is indicated, and the vehicle body controller BCM does not enter the matching flow.
In a specific embodiment, after entering the matching process: when a new remote control key (i.e. a target remote control key) receives a handshake authentication signal sent by a vehicle body controller BCM (i.e. a device for executing the double authentication matching method of the remote control key), the remote control key generates a random number and a serial number of the remote control key is sent to the vehicle body controller BCM together through a radio frequency signal.
In a specific embodiment, before identifying the user operation and generating the first request data, the method further includes: when the user finds that the remote key is lost, the vehicle body controller serial number can be provided immediately, and the original remote key is purchased from an after-sales service station or an on-line official platform (the remote key serial number must be registered in a booklet, i.e. a list of remote key matching serial numbers is registered).
Step 102: and generating first handshake data and authenticity inquiry data according to the first identity data, and receiving second handshake data generated by the target remote control key according to the first identity data.
In this embodiment, the generating first handshake data according to the first identity data specifically includes:
the first body data includes: a random number and a serial number;
and calculating according to the random number through a preset first secret key to obtain first handshake data.
In this embodiment, the second handshake data generated by the target remote control key according to the first identity data specifically includes: and the target remote control key calculates second handshake data through a preset second key according to the random number.
In a specific embodiment, after receiving the random number and the serial number sent by the remote control key, the BCM (i.e. the device for executing the dual authentication matching method of the remote control key) generates second request data according to the serial number, and combines the serial number and the second request data into a serial number inquiry authenticity request (i.e. authenticity inquiry data), firstly, the serial number inquiry authenticity request generated by the BCM of the vehicle body controller is sent to the TBOX through the CAN bus, and secondly, the BCM calculates BCM handshake data (i.e. first handshake data) by using a self secret key (i.e. a first secret key) according to the random number sent by the remote control key.
In a specific embodiment, the remote control key (i.e. the target remote control key) calculates the random number generated by itself through the self-secret key (i.e. the second secret key), calculates to obtain handshake data (i.e. the second handshake data) of the remote control key, and sends the handshake data to the body controller BCM, i.e. the device for executing the dual authentication matching method of the remote control key.
In a specific embodiment, after the remote control key sends the self serial number and the random number, the remote control key is automatically sent after the handshake data of the remote control key is calculated.
Step 103: and receiving the authenticity data fed back by the control platform according to the authenticity inquiry data, and carrying out matching judgment on the target remote control key according to the first handshake data, the second handshake data and the authenticity data.
In this embodiment, the performing, according to the first handshake data, the second handshake data, and the authenticity data, a matching judgment on the target remote key specifically includes:
when the true and false data is false, the matching fails;
when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails;
and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
In this embodiment, the control platform feeds back the authenticity data according to the authenticity inquiry data, specifically:
the control platform receives the true and false inquiry data; wherein, the authenticity inquiry data comprises: second request data and a sequence number;
and the control platform queries the serial number through the serial number matching summary table according to the second request data, and obtains true and false data.
In another specific embodiment, when the true-false data is "false" serial number data, then the matching fails;
when the true and false data is the serial number data of true, and the first handshake data and the second handshake data are inconsistent, the matching is failed;
and when the true and false data is the serial number data of true, and the first handshake data and the second handshake data are consistent, matching is successful.
In a specific embodiment, the body controller BCM (i.e. the device performing the dual authentication matching method of the key fob) performs data transmission with the control platform via the on-board communication device (TBOX).
In a specific embodiment, after receiving a remote control key serial number inquiry request sent by a car body controller BCM (i.e. a device for executing a dual authentication matching method of a remote control key), the TBOX sends the remote control key serial number inquiry request to a control platform, after receiving the remote control key serial number inquiry request, the control platform inquires whether the serial number is contained in a remote control key matching serial number table (i.e. a serial number matching table) and the remote control key is in an unmatched state, if the remote control key serial number is not contained in the remote control key matching serial number table or is in a matched state, the control platform returns that the remote control key serial number is false; if the remote control key serial number is contained in the remote control key matching serial number table and the remote control key is in a non-matching state, the control platform returns that the remote control key serial number is true. The TBOX forwards the information returned by the control platform to the body controller BCM.
In this embodiment, after the matching is successful when the first handshake data and the second handshake data are identical, the method further includes:
storing the serial number of the target remote control key, and deleting the original historical serial number;
and sending the serial number of the target remote control key and the vehicle information to the control platform so that the control platform updates the serial number matching summary table according to the serial number of the target remote control key and the vehicle information.
In a specific embodiment, after receiving the authenticity checking result of the remote key serial number forwarded by the TBOX and the key handshake data sent by the remote key, the body controller BCM drives the steering lamp to flash three times if the remote key serial number is false, so as to prompt the user that the key matching fails; if the remote key serial number is true, whether the handshake data (namely first data) of the vehicle body controller BCM is consistent with the remote key handshake data (namely second data) is judged, if so, the remote key is successfully matched, the vehicle body controller BCM stores a new remote key serial number, erases the original remote key serial number, sends the matched data to the TBOX through a CAN bus message, and then the TBOX forwards the data to a control platform, and the control platform updates the total table of the remote key matched serial numbers and drives a steering lamp to flash twice to prompt the user that the key is successfully matched. If the handshake data of the body controller BCM is inconsistent with the handshake data of the remote control key, the remote control key is failed to match, the body controller BCM drives the steering lamp to flash for three times, and prompts the user that the key is failed to match.
In one embodiment, the control platform periodically updates a key fob matching serial number table (serial number matching table) containing all key fob that have been matched for use and key fob (e.g., after-market spare part) serial numbers that have been reserved (but not used), usage status, and BCM serial numbers that have been matched, as shown in table 1 below:
TABLE 1
Each remote control key serial number is unique, and the 'matched' indicates that the remote control key is successfully matched with the BCM and is in a use state; "unmatched" means that the key fob has been produced, but has not been used in a matched manner with the BCM, and is in stock; each body controller BCM serial number is unique.
For a better illustration of the present embodiment, the following examples are provided for illustration, please refer to fig. 3, including steps 301 to 315, specifically:
step 301: the driver uses the new remote control key to turn OFF the ignition switch from OFF to ON to OFF within 10 seconds; unlocking, locking, unlocking, locking and unlocking are performed within 10 seconds;
step 302: after receiving the signal generated by the operation, the BCM sends a handshake request to the remote control key and drives the steering lamp to flash once;
step 303: after receiving a handshake request signal sent by the BCM, the remote control key sends a random number and a serial number generated by the remote control key;
step 304: the key Li Yong and the generated random number are calculated to obtain the handshake data of the key and send the handshake data to the BCM;
step 305: after receiving the random number and the serial number sent by the remote control key, the BCM sends a serial number authenticity inquiry request, and calculates by using the self secret key and the random number sent by the remote control key to obtain BCM handshake data;
step 306: the TBOX forwards a request for inquiring the authenticity of the serial number of the remote control key sent by the BCM to the control platform;
step 307: after receiving a remote key serial number inquiry request forwarded by TBOX, the control platform starts to check the serial number state;
step 308: judging the new remote key serial number: whether the remote control key is contained in the total table of the matching serial numbers of the remote control key and the remote control key is in an unmatched state; when the new key fob serial number is included in the key fob matching serial number summary table and the key fob is in a non-matching state, then step 309 is entered; step 310 is entered when the new key fob serial number is not included in the key fob matching serial number summary table, or the new key fob serial number is included in the key fob matching serial number summary table and the key fob is in a matching state;
step 309: the control platform returns the remote control key serial number to be true;
step 310: the control platform returns the remote key serial number as follows: "false";
step 311: the control platform forwards the query result returned by the control platform through the TBOX according to the judgment result in the step 309 or 310;
step 312: after receiving the query result forwarded by the TBOX, the BCM judges according to the authenticity of the serial number: when the serial number query result is false, go to step 315; when the serial number query result is true, go to step 313;
step 313: the BCM compares and judges the handshake data sent by the received remote key (step 304) with the handshake data calculated by the BCM (step 305): when the two handshake data are identical, step 314 is entered; when the two handshake data are inconsistent, go to step 315;
step 314: the remote control key is successfully matched, the BCM stores a new remote control key serial number, erases an original remote control key serial number, transmits the matched data to a TBOX through a CAN total message, and the TBOX forwards a control platform;
step 315: the remote control key fails to match, and the BCM drives the steering lamp to flash three times.
In this embodiment, there is also provided a dual authentication matching system for a remote key, as shown in fig. 4, including: a dual authentication matching device 401 of a remote control key, a target remote control key 402, a vehicle-mounted communication device 403 and a control platform 404; wherein, the dual authentication matching device 401 of the remote key is applied to the dual authentication matching method of the remote key according to the invention; the target remote key 402 is connected to the dual authentication matching device 401 of the remote key, and the dual authentication matching device 401 of the remote key is connected to the control platform 404 through the in-vehicle communication device 403.
In a specific embodiment, the host factory enters all remote key serial numbers into the control platform, all loaded BCMs send the remote key serial numbers successfully matched with the host and the host serial numbers to the TBOX through the CAN bus, the TBOX sends the remote key serial numbers successfully matched with the remote key serial numbers and the BCM serial numbers matched with the remote key serial numbers to the control platform through the wireless 4G network, and the control platform updates the total table of the remote key matching serial numbers for the received information.
In a specific embodiment, the vehicle body controller serial number may be provided immediately after the own key fob is found lost, and the original factory key fob (which must be registered in a register, i.e., a key fob matching serial number summary) is purchased from an after-market service station or on-line official platform, thereby allowing the user to receive a new key fob.
According to the remote control key matching method and device, the request for obtaining the remote control key matching through the preset starting operation by the user is obtained, so that the situation that a matching mode is randomly entered due to false touch is avoided, and the accuracy of remote control key matching is improved; after the remote control key enters the matching mode, the identity data generated by the remote control key is subjected to double encryption, and the secret keys of the vehicle body controller and the remote control key are used for acquiring handshake data aiming at random numbers in the identity data, so that the time for acquiring the handshake data by the vehicle body controller and the remote control key can be shortened, and the efficiency of identifying the handshake data is improved; meanwhile, the serial number in the identity data is sent to the control platform for confirmation through the vehicle-mounted communication equipment, so that the thief is prevented from carrying out key matching by using the equipment, and the safety is higher; and when the serial number is confirmed to be the serial number which can be matched, the handshaking data obtained by the vehicle body controller and the remote control key are consistent, so that double authentication matching of the remote control key is completed. The remote control key matching method and device are simple to operate, convenient to match, short in time consumption and suitable for popularization of after-sales service of automobiles, and a driver can complete remote control key matching without going to a designated organization or adopting professional equipment.
Example two
Referring to fig. 2, fig. 2 is a schematic structural diagram of an X device according to an embodiment of the present invention, including: a receiving module 201, a generating module 202 and a matching judging module 203;
the receiving module 201 is configured to receive first identity data sent by a target remote control key;
the generating module 202 is configured to generate first handshake data and authenticity query data according to the first identity data, and receive second handshake data generated by the target remote control key according to the first identity data;
the matching judging module 203 is configured to receive the authenticity data fed back by the control platform according to the authenticity inquiry data, and perform matching judgment on the target remote control key according to the first handshake data, the second handshake data, and the authenticity data.
As an improvement of the above solution, the matching judgment of the target remote key according to the first handshake data, the second handshake data, and the authenticity data specifically includes:
when the true and false data is false, the matching fails;
when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails;
and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
As an improvement of the above solution, the generating first handshake data according to the first identity data specifically includes:
the first body data includes: a random number and a serial number;
and calculating according to the random number through a preset first secret key to obtain first handshake data.
As an improvement of the above solution, the second handshake data generated by the target remote control key according to the first identity data specifically includes: and the target remote control key calculates second handshake data through a preset second key according to the random number.
As an improvement of the above scheme, the control platform feeds back the authenticity data according to the authenticity inquiry data, specifically:
the control platform receives the true and false inquiry data; wherein, the authenticity inquiry data comprises: second request data and a sequence number;
and the control platform queries the serial number through the serial number matching summary table according to the second request data, and obtains true and false data.
As an improvement of the above solution, after the matching is successful when the first handshake data and the second handshake data are identical, the method further includes:
storing the serial number of the target remote control key, and deleting the original historical serial number;
and sending the serial number of the target remote control key and the vehicle information to the control platform so that the control platform updates the serial number matching summary table according to the serial number of the target remote control key and the vehicle information.
As an improvement of the above solution, before the receiving the first identification data sent by the target remote control key, the method further includes:
receiving a first request signal; the first request signal is generated after a user executes a preset starting operation;
and generating first request data according to the first request signal, and sending the first request data to the target remote control key, so that the target remote control key generates first identity data according to the first request data.
According to the embodiment, the first request data are generated by identifying the operation of a user through the first generation module, so that the target remote control key generates first identity data according to the first request data, the second generation module generates first handshake data and authenticity inquiry data according to the first identity data, receives second handshake data generated by the target key according to the first identity data, finally receives the authenticity data generated by the control platform through the matching judgment module, and simultaneously carries out matching judgment on the first handshake data, the second handshake data and the authenticity data on the target remote control key. According to the embodiment, double authentication matching of the remote control key is realized through the first handshake data and the second handshake data, and the matching efficiency of the remote control key is improved.
Example III
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
A terminal device of this embodiment includes: a processor 501, a memory 502 and a computer program stored in said memory 502 and executable on said processor 501. The processor 501, when executing the computer program, implements the steps of the above-described dual authentication matching method for each remote key in an embodiment, for example, all the steps of the dual authentication matching method for remote keys shown in fig. 1. Alternatively, the processor may implement functions of each module in the above-described device embodiments when executing the computer program, for example: all modules of the dual authentication matching device of the remote key shown in fig. 2.
In addition, the embodiment of the invention also provides a computer readable storage medium, which comprises a stored computer program, wherein the device where the computer readable storage medium is located is controlled to execute the dual authentication matching method of the remote key according to any embodiment when the computer program runs.
It will be appreciated by those skilled in the art that the schematic diagram is merely an example of a terminal device and does not constitute a limitation of the terminal device, and may include more or less components than illustrated, or may combine certain components, or different components, e.g., the terminal device may further include an input-output device, a network access device, a bus, etc.
The processor 501 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, and the processor 501 is a control center of the terminal device, and connects various parts of the entire terminal device using various interfaces and lines.
The memory 502 may be used to store the computer program and/or module, and the processor 501 may implement various functions of the terminal device by running or executing the computer program and/or module stored in the memory, and invoking data stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Wherein the terminal device integrated modules/units may be stored in a computer readable storage medium if implemented in the form of software functional units and sold or used as stand alone products. Based on such understanding, the present invention may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth.
It should be noted that the above-described apparatus embodiments are merely illustrative, and the units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (9)

1. The double authentication matching method of the remote control key is characterized by comprising the following steps of:
receiving first identity data sent by a target remote control key;
generating first handshake data and authenticity inquiry data according to the first identity data, and receiving second handshake data generated by the target remote control key according to the first identity data; the first handshake data specifically includes: BCM uses the first key to calculate BCM handshake data based on the random number sent by the target remote key; the second handshake data specifically includes: the target remote control key carries out remote control key handshake data calculated through a second key based on the random number generated by the target remote control key;
receiving authenticity data fed back by the control platform according to the authenticity inquiry data, and carrying out matching judgment on the target remote control key according to the first handshake data, the second handshake data and the authenticity data; wherein, the true and false data specifically comprises: determining a state value of the true or false data by judging whether the serial number of the target remote control key exists in the serial number matching summary table and the matching state of the target remote control key; the matching judgment is performed on the target remote control key according to the first handshake data, the second handshake data and the authenticity data, specifically: when the true and false data is false, the matching fails; when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails; and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
2. The method for dual authentication matching of a remote key according to claim 1, wherein the generating first handshake data according to the first identity data specifically comprises:
the first body data includes: a random number and a serial number;
and calculating according to the random number through a preset first secret key to obtain first handshake data.
3. The dual authentication matching method of a remote key according to claim 2, wherein the second handshake data generated by the target remote key according to the first identity data is specifically: and the target remote control key calculates second handshake data through a preset second key according to the random number.
4. The dual authentication matching method of a remote key according to claim 3, wherein the control platform feeds back authenticity data according to the authenticity inquiry data, specifically:
the control platform receives the true and false inquiry data; wherein, the authenticity inquiry data comprises: second request data and a sequence number;
and the control platform queries the serial number through the serial number matching summary table according to the second request data, and obtains true and false data.
5. The method of claim 4, further comprising, after the matching is successful when the first handshake data and the second handshake data are identical:
storing the serial number of the target remote control key, and deleting the original historical serial number;
and sending the serial number of the target remote control key and the vehicle information to the control platform so that the control platform updates the serial number matching summary table according to the serial number of the target remote control key and the vehicle information.
6. The dual authentication matching method of a key fob according to claim 1, further comprising, prior to the receiving the first identity data sent by the target key fob:
receiving a first request signal; the first request signal is generated after a user executes a preset starting operation;
and generating first request data according to the first request signal, and sending the first request data to the target remote control key, so that the target remote control key generates first identity data according to the first request data.
7. A dual authentication matching apparatus for a key fob, comprising: the device comprises a receiving module, a generating module and a matching judging module;
the receiving module is used for receiving first identity data sent by the target remote control key;
the generating module is configured to generate first handshake data and authenticity query data according to the first identity data, and receive second handshake data generated by the target remote control key according to the first identity data, where the first handshake data specifically is: BCM uses the first key to calculate BCM handshake data based on the random number sent by the target remote key; the second handshake data specifically includes: the target remote control key carries out remote control key handshake data calculated through a second key based on the random number generated by the target remote control key;
the matching judgment module is used for receiving the authenticity data fed back by the control platform according to the authenticity inquiry data and carrying out matching judgment on the target remote control key according to the first handshake data, the second handshake data and the authenticity data; wherein, the true and false data specifically comprises: determining a state value of the true or false data by judging whether the serial number of the target remote control key exists in the serial number matching summary table and the matching state of the target remote control key; the matching judgment is performed on the target remote control key according to the first handshake data, the second handshake data and the authenticity data, specifically: when the true and false data is false, the matching fails; when the true-false data is true and the first handshake data and the second handshake data are inconsistent, the matching fails; and when the true-false data is true and the first handshake data is consistent with the second handshake data, successful matching is achieved.
8. A dual authentication matching system for a key fob comprising: the remote control key double authentication matching device, the target remote control key, the vehicle-mounted communication equipment and the control platform; wherein the double authentication matching device of a remote key is applied to the double authentication matching method of a remote key according to any one of claims 1 to 6; the target remote control key is connected with the double authentication matching device of the remote control key, and the double authentication matching device of the remote control key is connected with the control platform through the vehicle-mounted communication equipment.
9. A computer terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a double authentication matching method of a key fob according to any one of claims 1 to 6 when the computer program is executed.
CN202210638392.9A 2022-06-07 2022-06-07 Dual authentication matching method, device, system and equipment for remote key Active CN115102726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210638392.9A CN115102726B (en) 2022-06-07 2022-06-07 Dual authentication matching method, device, system and equipment for remote key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210638392.9A CN115102726B (en) 2022-06-07 2022-06-07 Dual authentication matching method, device, system and equipment for remote key

Publications (2)

Publication Number Publication Date
CN115102726A CN115102726A (en) 2022-09-23
CN115102726B true CN115102726B (en) 2024-04-05

Family

ID=83288268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210638392.9A Active CN115102726B (en) 2022-06-07 2022-06-07 Dual authentication matching method, device, system and equipment for remote key

Country Status (1)

Country Link
CN (1) CN115102726B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101457610A (en) * 2009-01-05 2009-06-17 许李纳 Non-key system for automobile and communication encrypting method thereof
CN104680630A (en) * 2014-12-29 2015-06-03 深圳市进林科技有限公司 Method and system for controlling door locks
CN105006051A (en) * 2015-07-31 2015-10-28 深圳广田智能科技有限公司 Wireless communication method and system of intelligent remote control door lock
CN105306530A (en) * 2015-09-16 2016-02-03 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method for monitoring target object by using WiFi label
CN106485814A (en) * 2016-09-23 2017-03-08 奇瑞汽车股份有限公司 A kind of automobile remote-control matching process
CN106971441A (en) * 2017-04-28 2017-07-21 深圳星普森信息技术有限公司 A kind of method for unlocking, door lock, key and lockset
CN108116367A (en) * 2016-11-29 2018-06-05 比亚迪股份有限公司 Keyless systems matching process and without key matching system
WO2019128354A1 (en) * 2017-12-29 2019-07-04 威马智慧出行科技(上海)有限公司 Safety authentication apparatus and method for vehicle anti-theft, device and computer program
CN110167021A (en) * 2019-04-29 2019-08-23 江苏大学 A kind of Vehicular virtual key is realized and communication means
CN111554008A (en) * 2020-04-22 2020-08-18 支付宝(杭州)信息技术有限公司 Digital key binding method, digital key verification method, mobile electronic equipment and near field communication device
CN111669399A (en) * 2020-06-17 2020-09-15 上海越域智能科技有限公司 Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode
CN114067467A (en) * 2021-12-14 2022-02-18 深圳市星卡软件技术开发有限公司 Automobile remote control key matching method, device, equipment and medium
CN114187687A (en) * 2022-02-16 2022-03-15 深圳市凯芙特科技有限公司 Vehicle key control method and system with preset reservation function
CN114267100A (en) * 2021-11-11 2022-04-01 北京智芯微电子科技有限公司 Unlocking authentication method and device, security chip and electronic key management system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100518374C (en) * 2006-02-17 2009-07-22 鸿富锦精密工业(深圳)有限公司 Access point and its method for determining preshared key
US9483886B2 (en) * 2014-10-01 2016-11-01 Continental Intelligent Transportation Systems, LLC Method and system for remote access control

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101457610A (en) * 2009-01-05 2009-06-17 许李纳 Non-key system for automobile and communication encrypting method thereof
CN104680630A (en) * 2014-12-29 2015-06-03 深圳市进林科技有限公司 Method and system for controlling door locks
CN105006051A (en) * 2015-07-31 2015-10-28 深圳广田智能科技有限公司 Wireless communication method and system of intelligent remote control door lock
CN105306530A (en) * 2015-09-16 2016-02-03 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method for monitoring target object by using WiFi label
CN106485814A (en) * 2016-09-23 2017-03-08 奇瑞汽车股份有限公司 A kind of automobile remote-control matching process
CN108116367A (en) * 2016-11-29 2018-06-05 比亚迪股份有限公司 Keyless systems matching process and without key matching system
CN106971441A (en) * 2017-04-28 2017-07-21 深圳星普森信息技术有限公司 A kind of method for unlocking, door lock, key and lockset
WO2019128354A1 (en) * 2017-12-29 2019-07-04 威马智慧出行科技(上海)有限公司 Safety authentication apparatus and method for vehicle anti-theft, device and computer program
CN110167021A (en) * 2019-04-29 2019-08-23 江苏大学 A kind of Vehicular virtual key is realized and communication means
CN111554008A (en) * 2020-04-22 2020-08-18 支付宝(杭州)信息技术有限公司 Digital key binding method, digital key verification method, mobile electronic equipment and near field communication device
CN111669399A (en) * 2020-06-17 2020-09-15 上海越域智能科技有限公司 Symmetric encryption system and method for vehicle Bluetooth key identity authentication mode
CN114267100A (en) * 2021-11-11 2022-04-01 北京智芯微电子科技有限公司 Unlocking authentication method and device, security chip and electronic key management system
CN114067467A (en) * 2021-12-14 2022-02-18 深圳市星卡软件技术开发有限公司 Automobile remote control key matching method, device, equipment and medium
CN114187687A (en) * 2022-02-16 2022-03-15 深圳市凯芙特科技有限公司 Vehicle key control method and system with preset reservation function

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CANMatch: A Fully Automated Tool for CAN Bus Reverse Engineering Based on Frame Matching;Alessio Buscemi; Ion Turcanu; German Castignani; Romain Crunelle; Thomas Engel;;《IEEE Transactions on Vehicular Technology》;第70卷(第12期);全文 *
车联网互信认证与安全通信综述;王春东;罗婉薇;莫秀良;杨文军;;《计算机科学》;第47卷(第11期);全文 *

Also Published As

Publication number Publication date
CN115102726A (en) 2022-09-23

Similar Documents

Publication Publication Date Title
US11823509B2 (en) Method and system for securely authenticating an electronic device to a vehicle
CN106240522B (en) Autonomous vehicle theft prevention
CN110126782B (en) Vehicle intelligent key application method and device
US20160366247A1 (en) Over-the-air vehicle systems updating and associated security protocols
CN101827076B (en) System and method for registering secret key
US20150200804A1 (en) In-vehicle apparatus for efficient reprogramming and control method thereof
CN110920560A (en) Cloud authorized vehicle control
CN113709695A (en) Vehicle use authorization method and system
CN108116367B (en) Keyless system matching method and keyless matching system
CN115242634A (en) Software upgrading method, device and storage medium
CN115102726B (en) Dual authentication matching method, device, system and equipment for remote key
US11414047B2 (en) Activation system and activation method
CN112440935A (en) Vehicle Bluetooth key authorization method, device, system and storage medium
CN116938443A (en) Undeniable vehicle change history
CN115019421A (en) Vehicle control method
CN110417907B (en) Management method and device of terminal equipment
CN110944020B (en) Vehicle-mounted intelligent computing device, cloud server and encryption communication method
CN116541054A (en) Off-line upgrading method for automobile software
JP2000293717A (en) System and method for authentication
CN113362505B (en) Automobile intelligent key learning method, storage medium, equipment and device
US11414051B2 (en) Keyed-alike phone-based keys
US11414049B2 (en) Key delivery and connectivity management for phone-based keys
CN117097525A (en) Vehicle remote starting safety encryption authentication communication method, system, equipment and medium
CN117793679A (en) Vehicle-mounted Bluetooth connection method and related equipment
CN116012987A (en) NFC car key registration method, vehicle Bluetooth module, vehicle NFC module and vehicle

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