Vehicle key matching method and device, electronic equipment and storage medium

The vehicle key matching method using high-frequency communication protocols addresses the high costs and security issues of low-frequency chip reliance, enhancing security and reducing manufacturing costs by enabling efficient and secure vehicle key matching.

CN119181157APending Publication Date: 2024-12-24CHINA FAW CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411194427.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-28
Publication Date
2024-12-24

AI Technical Summary

Technical Problem

Existing vehicle key systems rely on low-frequency chips for communication, leading to high manufacturing costs, increased complexity, and security vulnerabilities, which hinder lightweight design and rapid response.

Method used

A vehicle key matching method using high-frequency communication protocols to establish identifier information matching between the vehicle key and the vehicle, eliminating the need for low-frequency chips and ensuring secure and efficient vehicle operation.

Benefits of technology

This method enhances security and reduces manufacturing costs by eliminating low-frequency chips, while ensuring rapid and secure vehicle key matching and anti-theft functionality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119181157A_ABST
    Figure CN119181157A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle key matching method and device, electronic equipment and a storage medium. The method comprises the steps that in response to starting of a target vehicle through a vehicle key, first identifier information is obtained based on a vehicle communication protocol, and the first identifier information is used for representing identifier information in the vehicle key; the first identifier information is matched with second identifier information, a target matching result is obtained, the second identifier information is used for representing vehicle key identifier information stored in the target vehicle, and the target matching result is used for determining whether the vehicle key is matched with the target vehicle or not; and controlling the working state of the target vehicle based on the target matching result. The technical problems of low safety in the vehicle key matching process and high manufacturing cost of the vehicle body controller and the vehicle key in the prior art are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle key matching method, device, electronic equipment and storage medium. Background Art

[0002] At present, remote control key technology relies on communication between low-frequency chips and body control modules (BCM) to achieve identity authentication and handshake. This mechanism has the following disadvantages: First, the reliance on imported low-frequency chips has led to an increase in manufacturing costs, and this reliance has exacerbated the uncertainty of the manufacturing costs of body controllers and vehicle keys. Second, the presence of low-frequency chips increases the complexity and cost of vehicle remote control keys, which is not conducive to the lightweight design of vehicle remote control keys. Finally, with the rapid development of technology, traditional low-frequency communication methods have problems such as low security and slow response speed.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a vehicle key matching method, device, electronic device and storage medium to at least solve the technical problems of low security and high manufacturing cost of vehicle body controller and vehicle key in the vehicle key matching process in the related art.

[0005] According to one embodiment of the present invention, a vehicle key matching method is provided, comprising: in response to starting a target vehicle by a vehicle key, obtaining first identifier information based on a vehicle communication protocol, wherein the first identifier information is used to represent identifier information in the vehicle key; matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle; and controlling the operating state of the target vehicle based on the target matching result.

[0006] Optionally, the first identifier information is matched with the second identifier information to determine the target matching result, including: parsing the first identifier information to obtain a parsing result; comparing the parsing result with the second identifier information to obtain a comparison result; in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, the target matching result is determined to be that the target key matches the target vehicle; in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, the target matching result is determined to be that the target key does not match the target vehicle.

[0007] Optionally, controlling the start-up state of the target vehicle based on the target matching result includes: in response to the target matching result determining that the target key matches the target vehicle, controlling the target vehicle to be in a start-up state; in response to the target matching result determining that the target key does not match the target vehicle, controlling the target vehicle to be in a stationary state using a vehicle hybrid power module.

[0008] Optionally, controlling the target vehicle to be stationary using the vehicle hybrid power module includes: controlling the output power of the motor controller using the vehicle hybrid power module; and controlling the target vehicle to be stationary based on the output power.

[0009] Optionally, the vehicle key matching method further includes: in response to the vehicle key being unable to establish a communication connection with a body control module of the target vehicle, re-matching the first vehicle key for the target vehicle based on the second identifier information.

[0010] Optionally, re-matching the first vehicle key for the target vehicle based on the second identifier information includes: controlling the vehicle diagnostic instrument to read the second identifier information; and writing the second identifier information to the first vehicle key via the vehicle diagnostic instrument.

[0011] Optionally, the vehicle diagnostic instrument is connected to the vehicle management module based on a wireless network.

[0012] Optionally, the first identifier information is encrypted and written to the vehicle key, and the second identifier information is encrypted and written to the body control module.

[0013] According to one embodiment of the present invention, a vehicle key matching device is also provided, including: an acquisition module, used to obtain first identifier information based on a vehicle communication protocol in response to starting a target vehicle through a vehicle key, wherein the first identifier information is used to represent the identifier information in the vehicle key; a matching module, used to match the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle; and a control module, used to control the working state of the target vehicle based on the target matching result.

[0014] Optionally, the vehicle key matching device also includes a parsing module, which is used to parse the first identifier information to obtain a parsing result; the vehicle key matching device also includes a processing module, which is used to compare the parsing result with the second identifier information to obtain a comparison result; the vehicle key matching device also includes a determination module, which is used to: in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, determine the target matching result as the target key matches the target vehicle; in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, determine the target matching result as the target key does not match the target vehicle.

[0015] Optionally, the control module is also used to: in response to the target matching result determining that the target key matches the target vehicle, control the target vehicle to be in a started state; in response to the target matching result determining that the target key does not match the target vehicle, control the target vehicle to be in a stationary state using the vehicle hybrid power module.

[0016] Optionally, the control module is also used to: control the output power of the motor controller using the vehicle hybrid power module; and control the target vehicle to be in a stationary state based on the output power.

[0017] Optionally, the matching module is further configured to re-match the first vehicle key for the target vehicle based on the second identifier information in response to the vehicle key being unable to establish a communication connection with the body control module of the target vehicle.

[0018] Optionally, the control module is further used to: control the vehicle diagnostic instrument to read the second identifier information; and write the second identifier information to the first vehicle key via the vehicle diagnostic instrument.

[0019] Optionally, the vehicle diagnostic instrument is connected to the vehicle management module based on a wireless network.

[0020] Optionally, the first identifier information is encrypted and written to the vehicle key, and the second identifier information is encrypted and written to the body control module.

[0021] According to one embodiment of the present invention, there is also provided an electronic device, a memory storing an executable program; and a processor for running the program, wherein the program executes the above-mentioned vehicle key matching method when running.

[0022] According to one embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the above-mentioned vehicle key matching method.

[0023] According to one embodiment of the present invention, a computer program product is further provided, including a computer program, wherein the computer program implements the above-mentioned vehicle key matching method when executed by a processor.

[0024] In an embodiment of the present invention, in response to starting a target vehicle through a vehicle key, a method of obtaining first identifier information based on a vehicle communication protocol is adopted; the first identifier information is matched with the second identifier information to obtain a target matching result; finally, the working state of the target vehicle is controlled based on the target matching result, thereby achieving the purpose of quickly and securely establishing communication between the target vehicle and the vehicle key, and canceling the low-frequency communication chip in the vehicle key and the body controller, thereby achieving the technical effect of improving the security in the vehicle key matching process and reducing the manufacturing cost of the body controller and the vehicle key, thereby solving the technical problems of low security in the vehicle key matching process and high manufacturing cost of the body controller and the vehicle key in the related art. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 is a flow chart of a vehicle key matching method according to one embodiment of the present invention;

[0027] Figure 2A is a schematic diagram of a vehicle key matching method according to one embodiment of the present invention;

[0028] Figure 2B is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention;

[0029] Figure 3 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention;

[0030] Figure 4 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention;

[0031] Figure 5 is a flow chart of another vehicle key matching method according to one embodiment of the present invention;

[0032] Figure 6 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention;

[0033] Figure 7 The present invention is a structural block diagram of a vehicle key matching according to one embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] According to an embodiment of the present invention, a method embodiment of a vehicle key matching method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0037] The method embodiment can be executed in an electronic device or a similar computing device including a memory and a processor. Taking running on a vehicle terminal as an example, the vehicle terminal may include one or more processors (the processor may include but is not limited to a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processing (DSP) chip, a microcontroller unit (MCU), a programmable logic device (Field Programmable Gate Array, FPGA), a neural network processor (Neural-network Processor Unit, NPU), a tensor processor (Tensor Processing Unit, TPU), an artificial intelligence (Artificial Intelligence, AI) type processor, etc.) and a memory for storing data. Optionally, the above-mentioned vehicle terminal may also include a transmission device, an input and output device, and a display device for communication functions. It can be understood by those of ordinary skill in the art that the above-mentioned structural description is only for illustration and does not limit the structure of the above-mentioned vehicle terminal. For example, the vehicle terminal may also include more or fewer components than the above-mentioned structural description, or have a configuration different from the above-mentioned structural description.

[0038] The memory can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the vehicle key matching method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the computer program stored in the memory, that is, the above-mentioned vehicle key matching method is realized. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0039] The transmission device is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.

[0040] The display device may be, for example, a touch screen type liquid crystal display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of a mobile terminal. In some embodiments, the mobile terminal has a graphical user interface (GUI), and a user may interact with the GUI by finger contacts and / or gestures on a touch-sensitive surface, wherein the human-computer interaction functions here may optionally include the following interactions: creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, sending and receiving emails, call interfaces, playing digital videos, playing digital music and / or web browsing, etc. The executable instructions for executing the above human-computer interaction functions are configured / stored in a computer program product or readable storage medium executable by one or more processors.

[0041] According to an embodiment of the present invention, a method embodiment of a vehicle key matching method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0042] Figure 1 is a flow chart of a vehicle key matching method according to one embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0043] Step S10, in response to starting the target vehicle by using the vehicle key, obtaining first identifier information based on the vehicle communication protocol, wherein the first identifier information is used to represent the identifier information in the vehicle key;

[0044] In step S10, the vehicle key is used to represent the vehicle remote control key. The vehicle communication protocol is used to represent the controller area network (CAN) protocol.

[0045] The first identifier information is used to represent the identification (ID) information of the vehicle key.

[0046] Step S12, matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle;

[0047] In step S12, the second identifier information is used to represent the ID information of the vehicle key stored in the body control module (Body Control Module, BCM) in the target vehicle.

[0048] Step S14, controlling the operating state of the target vehicle based on the target matching result.

[0049] In step S14, the operating state of the target vehicle is used to indicate whether the target vehicle is in a starting state or a stationary state.

[0050] Specifically, Figure 2A is a schematic diagram of a vehicle key matching method according to one embodiment of the present invention, such as Figure 2A As shown, at the end of line (EOL), the BCM and the vehicle remote control key are offline together, and the ID information of the vehicle remote control key is written into the vehicle remote control key and the BCM, wherein the ID information of the vehicle remote control key is written into the flash memory (flash) of the BCM and the vehicle remote control key to ensure that the ID information will not be lost even if the BCM and the vehicle remote control key are in a power-off state.

[0051] Specifically, Figure 2B FIG. 1 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention. Figure 2B As shown in the figure, this is the EOL data reading and writing method. When the production is off the line, in order to ensure the consistency of the ID information in the vehicle remote control key and the ID information in the BCM, during the EOL period, the BCM and the vehicle remote control key are controlled to perform CAN communication handshake to ensure the consistency of the ID information. At the same time, there will be an encryption algorithm during the communication process to ensure that the transmitted information will not be deciphered. For example, the encryption algorithm is jointly generated by the algorithm engineers of the BCM and the vehicle remote control key, and the key is controlled by the vehicle manufacturer.

[0052] Specifically, when the vehicle remote control key is used to open the target vehicle, the ID information is sent to the BCM via a high-frequency signal. After the BCM obtains the ID information sent by the vehicle remote control key, it matches it with the ID of the vehicle remote control key stored in its own flash to determine whether the vehicle remote control key is the paired key of the target vehicle. If the vehicle remote control key is the paired key of the target vehicle, the target vehicle can be opened and the target vehicle is in the starting state.

[0053] Based on the above steps S10 to S14, a method is adopted in which, in response to starting the target vehicle through the vehicle key, the first identifier information is obtained based on the vehicle communication protocol; the first identifier information is matched with the second identifier information to obtain a target matching result; finally, the working state of the target vehicle is controlled based on the target matching result, thereby achieving the purpose of quickly and securely establishing communication between the target vehicle and the vehicle key, and canceling the low-frequency communication chip in the vehicle key and the body controller, thereby achieving the technical effect of improving the security in the vehicle key matching process and reducing the manufacturing cost of the body controller and the vehicle key, thereby solving the technical problems of low security in the vehicle key matching process and high manufacturing cost of the body controller and the vehicle key in the related technology.

[0054] Optionally, in step S12, matching the first identifier information with the second identifier information, and determining a target matching result includes:

[0055] Step S121, parsing the first identifier information to obtain a parsing result;

[0056] Specifically, when the vehicle key sends the first identifier information, i.e., the ID information of the vehicle key, to the target vehicle via a high-frequency signal, the body control module (BCM) in the target vehicle will receive the ID information. In order to perform subsequent matching operations, the BCM needs to parse the received first identifier information and convert the received first identifier information into a format that can be compared.

[0057] Furthermore, after receiving the first identifier information sent by the vehicle key through the vehicle communication protocol (CAN protocol), the BCM parses the first identifier information to obtain a parsing result, wherein the first identifier information exists in the form of an encrypted data packet. Before parsing, the BCM will first verify the integrity of the encrypted data packet to ensure that the received data packet has not been erroneous or tampered with during the transmission process. This is usually done by checking the data checksum or cyclic redundancy check (CRC). After the above integrity verification operation, the encrypted data packet is decrypted to obtain the first identifier information.

[0058] Step S122, comparing the parsing result with the second identifier information to obtain a comparison result;

[0059] Specifically, Figure 3 FIG. 1 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention. Figure 3 As shown, the ID information in the flash is used to compare the BCM and the vehicle key. The vehicle key ID information obtained by parsing is compared bit by bit with the vehicle key ID information stored in the flash of the BCM, that is, each digit or character in the two identifier information is compared one by one until all bits are compared to obtain the comparison result. Bit-by-bit comparison can ensure that the two identifier information are completely consistent in the smallest unit, thereby improving the accuracy of the comparison.

[0060] Step S123, in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, the target matching result is determined as the target key matching the target vehicle;

[0061] Specifically, when the comparison result indicates that the first identifier information is completely consistent with the second identifier information, the BCM will determine that the vehicle key currently in use is the paired key of the target vehicle, that is, the target matching result is determined as the target key matches the target vehicle.

[0062] Step S124 , in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, the target matching result is determined as the target key and the target vehicle do not match.

[0063] Specifically, when the comparison result shows that the first identifier information is inconsistent with the second identifier information, the BCM will determine that the current vehicle key is not a paired key for the target vehicle, that is, the target matching result is determined to be that the target key does not match the target vehicle.

[0064] Based on the above steps S121 to S124, the first identifier information is parsed to obtain a parsing result; the parsing result is compared with the second identifier information to obtain a comparison result; in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, the target matching result is determined to be that the target key matches the target vehicle; in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, the target matching result is determined to be that the target key does not match the target vehicle. In the process of using the vehicle key to match the target vehicle, the ID information is sent to the BCM via a high-frequency signal. When the BCM verifies that the ID is consistent with the ID in the flash, it is identified as a paired key, and the vehicle can be opened, and the vehicle enters a ready-to-start state, thereby improving the safety of the vehicle key matching process.

[0065] Optionally, in step S14, controlling the start state of the target vehicle based on the target matching result includes:

[0066] Step S141, in response to the target matching result determining that the target key matches the target vehicle, controlling the target vehicle to be in a start state;

[0067] Step S142 , in response to the target matching result determining that the target key does not match the target vehicle, the target vehicle is controlled to be in a stationary state by using the vehicle hybrid power module.

[0068] Specifically, when the target matching result determines that the target key matches the target vehicle, the target vehicle is controlled to be in a starting state; when the target matching result determines that the target key does not match the target vehicle, the vehicle hybrid power module is used to control the target vehicle to be in a stationary state.

[0069] Based on the above steps S141 to S142, in response to the target matching result determining that the target key matches the target vehicle, the target vehicle is controlled to be in a starting state; in response to the target matching result determining that the target key does not match the target vehicle, the vehicle hybrid power module is used to control the target vehicle to be in a stationary state, and when the vehicle key matches the target vehicle, the target vehicle automatically enters the starting state, reducing the user's operation steps and improving the user experience; when the vehicle key does not match the target vehicle, the vehicle uses the hybrid power module to control the vehicle to be in a stationary state, which helps to save energy and reduce unnecessary energy waste, and improves vehicle safety.

[0070] Optionally, in step S142, controlling the target vehicle to be in a stationary state by using the vehicle hybrid power module includes:

[0071] Step S1421, using the vehicle hybrid power module to control the output power of the motor controller;

[0072] Step S1422, controlling the target vehicle to be in a stationary state based on the output power.

[0073] Specifically, when the BCM finds that the target key does not match the target vehicle, it controls the hybrid vehicle controller (HCU) to start the anti-theft algorithm, that is, the HCU controls the output power of the motor controller (MCU) to 0 to lock the motor and make the target vehicle unable to move, thereby realizing the anti-theft function without increasing the cost. In addition, the steering column lock is cancelled, realizing the anti-theft at the vehicle system level.

[0074] Based on the above steps S1421 to S1422, the vehicle hybrid power module is used to control the output power of the motor controller; based on the output power, the target vehicle is controlled to be in a stationary state. When the vehicle key does not match the target vehicle, the vehicle uses the hybrid power module to control the vehicle to be in a stationary state, which helps to save energy and reduce unnecessary energy waste, and improve vehicle safety.

[0075] Optionally, the vehicle key matching method further includes:

[0076] Step S15 , in response to the vehicle key being unable to establish a communication connection with the body control module of the target vehicle, re-matching the first vehicle key for the target vehicle based on the second identifier information.

[0077] Specifically, when the vehicle key cannot establish a communication connection with the body control module of the target vehicle, the vehicle diagnostic instrument is used to read the ID information in the BCM through the CAN protocol, and then the ID information is written into the first vehicle key. For example, when the vehicle remote control key matching the target vehicle is lost, the vehicle diagnostic instrument is used to read the ID information in the BCM through the CAN protocol, and then the ID information is written into the new vehicle key.

[0078] Based on the above step S15, in response to the vehicle key being unable to establish a communication connection with the body control module of the target vehicle, the first vehicle key is re-matched for the target vehicle based on the second identifier information, thereby realizing the function of re-matching the vehicle key and BCM using the diagnostic instrument, achieving the anti-theft function, improving the anti-theft performance of the entire vehicle, and improving the safety of the vehicle key matching process.

[0079] Optionally, in step S15, re-matching the first vehicle key for the target vehicle based on the second identifier information includes:

[0080] Step S151, controlling the vehicle diagnostic instrument to read the second identifier information;

[0081] Step S152, writing the second identifier information into the first vehicle key via the vehicle diagnostic instrument.

[0082] Specifically, Figure 4 FIG. 1 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention. Figure 4 As shown, a vehicle diagnostic instrument is used to read the ID information in the BCM through the CAN protocol, that is, the second identifier information, and then the second identifier information is written into the first key. Figure 2ADuring the offline process, BCM reserves the communication protocol for reading ID information in advance and encrypts the communication to prevent unauthorized reading. In addition, the writing protocol of the first key also needs to be reserved in advance at the communication soft interface when offline. When the vehicle diagnostic instrument reads the ID information of BCM, it needs to connect to the designer cloud system through wireless network technology (Wireless Fidelity, WiFi) for handshake to ensure the security of key transmission in the process. Among them, the reception and transmission of the key is controlled by the vehicle manufacturer, not by the diagnostic instrument, to prevent information leakage.

[0083] Based on the above steps S151 to S152, the vehicle diagnostic instrument is controlled to read the second identifier information; the second identifier information is written to the first vehicle key via the vehicle diagnostic instrument, thereby realizing the function of re-matching the vehicle key and BCM using the diagnostic instrument, achieving the anti-theft function, improving the anti-theft performance of the entire vehicle, and improving the safety of the vehicle key matching process.

[0084] Optionally, the vehicle diagnostic instrument is connected to the vehicle management module based on a wireless network.

[0085] Specifically, the vehicle management module is used to represent the vehicle designer cloud system. When the vehicle diagnostic instrument reads the ID information of the BCM, it needs to connect to the designer cloud system through wireless network technology (Wireless Fidelity, WiFi) for handshake to ensure the security of key transmission in the process.

[0086] Optionally, the first identifier information is encrypted and written to the vehicle key, and the second identifier information is encrypted and written to the body control module.

[0087] Specifically, when the production is off the line, in order to ensure the consistency of the ID information in the vehicle remote control key and the ID information in the BCM, during the EOL period, the BCM is controlled to perform CAN communication handshake with the vehicle remote control key to ensure the consistency of the ID information. At the same time, there will be an encryption algorithm during the communication process to ensure that the transmitted information will not be deciphered.

[0088] Figure 5 is a flow chart of another vehicle key matching method according to one embodiment of the present invention, such as Figure 5 As shown, the method comprises the following steps:

[0089] Step S501, in response to starting the target vehicle by a vehicle key, obtaining first identifier information based on a vehicle communication protocol;

[0090] Step S502, parsing the first identifier information to obtain a parsing result;

[0091] Step S503, comparing the parsing result with the second identifier information to obtain a comparison result;

[0092] Step S504, in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, the target matching result is determined as the target key matches the target vehicle;

[0093] Step S505, in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, the target matching result is determined as the target key and the target vehicle do not match;

[0094] Step S506, in response to the target matching result determining that the target key matches the target vehicle, controlling the target vehicle to be in a start state;

[0095] Step S507, in response to the target matching result determining that the target key does not match the target vehicle, controlling the output power of the motor controller using the vehicle hybrid power module;

[0096] Step S508: Control the target vehicle to be in a stationary state based on the output power.

[0097] Based on the above steps S501 to S508, a method is adopted in which, in response to starting the target vehicle through the vehicle key, the first identifier information is obtained based on the vehicle communication protocol; the first identifier information is matched with the second identifier information to obtain a target matching result; finally, the working state of the target vehicle is controlled based on the target matching result, thereby achieving the purpose of quickly and securely establishing communication between the target vehicle and the vehicle key, and canceling the low-frequency communication chip in the vehicle key and the body controller, thereby achieving the technical effect of improving the security in the vehicle key matching process and reducing the manufacturing cost of the body controller and the vehicle key, thereby solving the technical problems of low security in the vehicle key matching process and high manufacturing cost of the body controller and the vehicle key in the related technology.

[0098] Figure 6 FIG. 1 is a schematic diagram of another vehicle key matching method according to one embodiment of the present invention. Figure 6As shown, the method includes the following steps: Specifically, when the vehicle remote control key is used to open the target vehicle, the ID information is sent to the BCM through a high-frequency signal. After the BCM obtains the ID information sent by the vehicle remote control key, it matches it with the ID of the vehicle remote control key stored in its own flash to determine whether the vehicle remote control key is the paired key of the target vehicle. The BCM sends the matching result to the vehicle key. If the vehicle remote control key is the paired key of the target vehicle, the target vehicle can be opened and the target vehicle is in a starting state. When the BCM finds that the target key does not match the target vehicle, the hybrid vehicle controller (Hybrid Control Unit, HCU) is controlled to start the anti-theft algorithm, that is, the HCU controls the output power of the motor controller (Motor Control Unit, MCU) to 0, so as to lock the motor and make the target vehicle unable to move, thereby realizing the anti-theft function without increasing the cost. In addition, the steering column lock is cancelled, and the whole vehicle system-level anti-theft is realized.

[0099] Based on the above embodiments, the present invention has the following advantages:

[0100] (1) During the offline process, the vehicle key ID information is written into the vehicle key and BCM, so that the identifier information of the vehicle remote key and the BCM is matched during the offline process, realizing online matching of the vehicle and the remote key. In this process, no low-frequency communication chip is required, which solves the technical problem of high manufacturing cost of the body controller and the vehicle key;

[0101] (2) When the vehicle key is used to match the target vehicle, the ID information is sent to the BCM through a high-frequency signal. When the BCM verifies that the ID is consistent with the ID in the flash, it is identified as a paired key and the vehicle can be opened, making the vehicle ready to start, thereby improving the security of the vehicle key matching process;

[0102] (3) The function of re-matching the vehicle key and BCM using the diagnostic instrument is realized, achieving the anti-theft function, improving the anti-theft performance of the entire vehicle, and improving the security of the vehicle key matching process.

[0103] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0104] In the embodiment of the present invention, a matching device for a vehicle key is also provided, which is used to implement the above-mentioned embodiment and preferred implementation mode, and the descriptions that have been made are not repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0105] Figure 7 1 is a structural block diagram of a vehicle key matching according to one embodiment of the present invention. Figure 7 As shown, the device comprises:

[0106] An acquisition module 701 is used for acquiring first identifier information based on a vehicle communication protocol in response to starting a target vehicle through a vehicle key, wherein the first identifier information is used to represent identifier information in the vehicle key;

[0107] A matching module 702, configured to match the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle;

[0108] The control module 703 is used to control the working state of the target vehicle based on the target matching result.

[0109] Optionally, the vehicle key matching device also includes a parsing module 704, which is used to parse the first identifier information to obtain a parsing result; the vehicle key matching device also includes a processing module 705, which is used to compare the parsing result with the second identifier information to obtain a comparison result; the vehicle key matching device also includes a determination module 706, which is used to: in response to the comparison result indicating that the first identifier information is consistent with the second identifier information, determine the target matching result as the target key matches the target vehicle; in response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, determine the target matching result as the target key does not match the target vehicle.

[0110] Optionally, the control module 703 is also used to: in response to the target matching result determining that the target key matches the target vehicle, control the target vehicle to be in a started state; in response to the target matching result determining that the target key does not match the target vehicle, control the target vehicle to be in a stationary state using the vehicle hybrid power module.

[0111] Optionally, the control module 703 is further used to: control the output power of the motor controller using the vehicle hybrid power module; and control the target vehicle to be in a stationary state based on the output power.

[0112] Optionally, the matching module 702 is further configured to re-match the first vehicle key for the target vehicle based on the second identifier information in response to the vehicle key being unable to establish a communication connection with the body control module of the target vehicle.

[0113] Optionally, the control module 703 is further used to: control the vehicle diagnostic instrument to read the second identifier information; and write the second identifier information into the first vehicle key via the vehicle diagnostic instrument.

[0114] Optionally, the vehicle diagnostic instrument is connected to the vehicle management module based on a wireless network.

[0115] Optionally, the first identifier information is encrypted and written to the vehicle key, and the second identifier information is encrypted and written to the body control module.

[0116] It should be noted that the above modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to: the above modules are all located in the same processor; or the above modules are located in different processors in any combination.

[0117] According to one embodiment of the present invention, there is also provided an electronic device, a memory storing an executable program; and a processor for running the program, wherein the program executes the above-mentioned vehicle key matching method when running.

[0118] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0119] Step S1, in response to starting a target vehicle by a vehicle key, obtaining first identifier information based on a vehicle communication protocol, wherein the first identifier information is used to represent identifier information in the vehicle key;

[0120] Step S2, matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle;

[0121] Step S3, controlling the operating state of the target vehicle based on the target matching result.

[0122] According to one embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored executable program, wherein when the executable program is run, the device where the storage medium is located is controlled to execute the above-mentioned vehicle key matching method.

[0123] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:

[0124] Step S1, in response to starting a target vehicle by a vehicle key, obtaining first identifier information based on a vehicle communication protocol, wherein the first identifier information is used to represent identifier information in the vehicle key;

[0125] Step S2, matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle;

[0126] Step S3, controlling the operating state of the target vehicle based on the target matching result.

[0127] Optionally, in this embodiment, the above-mentioned storage medium may include but is not limited to: a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and other media that can store computer programs.

[0128] According to one embodiment of the present invention, a computer program product is further provided, including a computer program, wherein the computer program implements the above-mentioned vehicle key matching method when executed by a processor.

[0129] Optionally, in this embodiment, the computer program product may be configured as a computer program for executing the following steps:

[0130] Step S1, in response to starting a target vehicle by a vehicle key, obtaining first identifier information based on a vehicle communication protocol, wherein the first identifier information is used to represent identifier information in the vehicle key;

[0131] Step S2, matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle;

[0132] Step S3, controlling the operating state of the target vehicle based on the target matching result.

[0133] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation modes, and this embodiment will not be described in detail here.

[0134] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0135] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0136] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0137] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0138] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0139] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0140] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A vehicle key matching method, characterized in that: include: In response to starting the target vehicle by using a vehicle key, obtaining first identifier information based on a vehicle communication protocol, wherein the first identifier information is used to represent identifier information in the vehicle key; Matching the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle; The operating state of the target vehicle is controlled based on the target matching result.

2. The vehicle key matching method according to claim 1, characterized in that: Matching the first identifier information with the second identifier information to determine the target matching result includes: Parsing the first identifier information to obtain a parsing result; Compare the parsing result with the second identifier information to obtain a comparison result; In response to the comparison result indicating that the first identifier information is consistent with the second identifier information, the target matching result is determined as the target key matches the target vehicle; In response to the comparison result indicating that the first identifier information is inconsistent with the second identifier information, the target matching result is determined as the target key and the target vehicle do not match.

3. The vehicle key matching method according to claim 1, characterized in that: Controlling the start state of the target vehicle based on the target matching result includes: In response to the target matching result determining that the target key matches the target vehicle, controlling the target vehicle to be in a start state; In response to the target matching result determining that the target key does not match the target vehicle, the target vehicle is controlled to be in a stationary state by using a vehicle hybrid power module.

4. The vehicle key matching method according to claim 3, characterized in that: Using the vehicle hybrid power module to control the target vehicle to be in a stationary state includes: controlling the output power of a motor controller using the vehicle hybrid power module; The target vehicle is controlled to be in a stationary state based on the output power.

5. The vehicle key matching method according to claim 1, characterized in that: The method further comprises: In response to the vehicle key being unable to establish a communication connection with a body control module of the target vehicle, a first vehicle key is re-matched for the target vehicle based on the second identifier information.

6. The vehicle key matching method according to claim 5, characterized in that: Re-matching the first vehicle key for the target vehicle based on the second identifier information includes: Controlling the vehicle diagnostic instrument to read the second identifier information; The second identifier information is written to the first vehicle key via the vehicle diagnostic instrument.

7. The vehicle key matching method according to claim 6, characterized in that: The vehicle diagnostic instrument is connected to a vehicle management module based on a wireless network.

8. The vehicle key matching method according to claim 1, characterized in that: The first identifier information is encrypted and written into the vehicle key, and the second identifier information is encrypted and written into the body control module.

9. A vehicle key matching device, characterized in that: include: an acquisition module, configured to acquire first identifier information based on a vehicle communication protocol in response to starting a target vehicle through a vehicle key, wherein the first identifier information is used to represent identifier information in the vehicle key; a matching module, configured to match the first identifier information with the second identifier information to obtain a target matching result, wherein the second identifier information is used to represent the vehicle key identifier information stored in the target vehicle, and the target matching result is used to determine whether the vehicle key matches the target vehicle; A control module is used to control the working state of the target vehicle based on the target matching result.

10. An electronic device, characterized in that: include: A memory storing an executable program; A processor is used to run the program, wherein the program executes the vehicle key matching method described in any one of claims 1 to 8 when running.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored executable program, wherein when the executable program is executed, the device where the storage medium is located is controlled to execute the vehicle key matching method according to any one of claims 1 to 8.

12. A computer program product, characterized in that The invention comprises a computer program, which implements the vehicle key matching method according to any one of claims 1 to 8 when being executed by a processor.