Vehicle and key matching method and system, electronic equipment and vehicle
By independently writing information between the vehicle and the key, and using reading and writing tools for matching, the problem of customer losses caused by key loss or mislocking in the existing technology is solved, and convenient matching is achieved when the vehicle is locked.
Patent Information
- Application Number
- CN202410665338.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-30
AI Technical Summary
In the existing technology, when the vehicle is locked, if the key is lost or mistakenly locked in the vehicle, the IMMO coil needs to be relied upon to match the new key with the vehicle, causing customer losses and inconvenience.
By obtaining the vehicle identification key and key identification code, the reading and writing tools are used to independently write information between the key and the vehicle to determine whether the preset matching conditions are met, thereby matching the key to the vehicle and avoiding reliance on the IMMO coil.
Reduce customer losses, improve the convenience of matching the key to the vehicle, and achieve successful matching without dependence when the vehicle is locked.
Smart Images

Figure CN118570909A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a vehicle and key matching method, system, electronic device and vehicle. Background Art
[0002] When the vehicle is locked, if the key is lost or locked in the car by mistake, it is usually necessary to find a locksmith company or break the window to open the door to find the key that fell in the car or rely on the IMMO coil in the car to re-match a new key. However, this method causes huge losses and inconvenience to customers or after-sales. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a vehicle and key matching method, system, electronic device and vehicle.
[0004] Based on the above purpose, the first aspect of the present application provides a method for matching a vehicle and a key, which is executed by a body controller of a vehicle to be matched, comprising:
[0005] Obtain the vehicle identification key of the vehicle to be matched, and send the vehicle identification key to the reading and writing tool;
[0006] receiving and storing a key identification code of a key to be matched;
[0007] In response to receiving a key matching request message sent by a controller of the key to be matched, and the key matching request message, the vehicle identification key and the key identification code meet a preset matching condition, it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0008] Optionally, the key matching request information includes a key authentication code and a vehicle authentication code;
[0009] The method further comprises:
[0010] In response to the key authentication code and the key identification code being consistent, and the vehicle authentication code and the vehicle identification key being consistent, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
[0011] Optionally, the key matching request information includes a key authentication code and a vehicle authentication code;
[0012] The method further comprises:
[0013] In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending a first synchronization code to the controller of the key to be matched;
[0014] Receiving feedback information sent by the controller of the key to be matched;
[0015] In response to the feedback information including the first synchronization code, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
[0016] Optionally, the key matching request information includes a key authentication code and a vehicle authentication code;
[0017] The method further comprises:
[0018] In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending preliminary matching success information to the key to be matched;
[0019] Receiving a second synchronization code sent by the controller of the key to be matched;
[0020] Encrypting the vehicle identification key, the key identification code and the second synchronization code to generate authentication information, and sending the authentication information to the controller of the key to be matched;
[0021] In response to receiving the authentication success information sent by the controller of the key to be matched, it is determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions.
[0022] Based on the same inventive concept, the second aspect of the present application provides a method for matching a vehicle and a key, which is executed by a controller of a key to be matched, wherein key matching request information is stored in the controller, and the method includes:
[0023] Sending key matching request information to the body controller of the vehicle to be matched;
[0024] In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0025] Optionally, the key matching request information includes a key authentication code and a vehicle authentication code;
[0026] Also includes:
[0027] Receiving a first synchronization code sent by a body controller of the vehicle to be matched;
[0028] Encrypting the key authentication code, the vehicle authentication code and the first synchronization code to generate feedback information, and sending the feedback information to the body controller of the vehicle to be matched;
[0029] In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0030] Optionally, it also includes:
[0031] Receiving preliminary matching success information sent by the body controller of the vehicle to be matched;
[0032] Sending a second synchronization code to the vehicle body controller;
[0033] Receiving authentication information sent by the vehicle body controller;
[0034] In response to determining that the authentication information includes the second synchronization code, sending authentication success information to the vehicle body controller;
[0035] In response to receiving the matching success information sent by the to-be-matched vehicle, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0036] Based on the same inventive concept, the third aspect of the present application provides a method for matching a vehicle and a key, which is performed by a reading and writing tool, and includes:
[0037] Read the key identification code of the key to be matched, and send the key identification code to the vehicle body controller and / or upload it to the cloud;
[0038] Receive the vehicle identification key sent by the body controller of the to-be-matched vehicle, and write the vehicle identification key into the controller of the to-be-matched key.
[0039] Based on the same inventive concept, the fourth aspect of the present application provides a vehicle and key matching system, comprising a body controller, a key controller and a reading and writing tool that are communicatively connected to each other, the body controller is used to execute the method described in any one of the first aspect above, the key controller is used to execute the method described in any one of the second aspect above, and the reading and writing tool is used to execute the method described in the third aspect above.
[0040] Based on the same inventive concept, the fifth aspect of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method described in any one of the first aspect or any one of the second aspect is implemented.
[0041] Based on the same inventive concept, the sixth aspect of the present application provides a vehicle, including an electronic device, the electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, it implements the method described in any one of the first aspects above.
[0042] From the above, it can be seen that the vehicle and key matching method, system, electronic device and vehicle provided by the present application first obtain the vehicle identification key of the vehicle to be matched, and send the vehicle identification key to the reading and writing tool. With the help of the reading and writing tool, the vehicle identification key can be written into the key to be matched. At the same time, the key identification code of the key to be matched can also be read and written so that the body controller can receive and store the key identification code of the key to be matched. In this way, the key identification code and the vehicle identification key can be written separately on the key to be matched and the vehicle to be matched, and then the information written on both ends is judged. If the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, it means that the information written on the vehicle to be matched and the key to be matched meets the requirements. At this time, it can be determined that the vehicle to be matched and the key to be matched are matched successfully. The execution of the entire matching method does not depend on the IMMO coil of the vehicle, and there is no need to open the door when the vehicle is locked, which reduces customer losses and improves the convenience of matching vehicles and keys. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0044] Figure 1 A first flow chart of a method for matching a vehicle and a key according to an embodiment of the present application;
[0045] Figure 2 A second flow chart of the method for matching a vehicle and a key according to an embodiment of the present application;
[0046] Figure 3 A third flow chart of the method for matching a vehicle and a key according to an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a first vehicle and key matching device according to an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a second vehicle and key matching device according to an embodiment of the present application;
[0049] Figure 6 A schematic diagram of a third vehicle and key matching device according to an embodiment of the present application;
[0050] Figure 7 A schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0053] The car key is an important tool for obtaining the right to use the vehicle. When the vehicle is locked, if the key is lost or locked in the car by mistake, it will be very difficult. If the key is locked in the car, you need to find a locksmith or break the window to open the car door to find the key that fell in the car. If the key is lost, you need to make a new key.
[0054] When re-keying, the new key needs to be matched with the vehicle. Only when the new key and the vehicle are matched successfully can the new key perform corresponding operations on the vehicle, such as unlocking or locking. In actual application, if you want to complete the matching between the new key and the vehicle, you must rely on the vehicle's on-board automatic diagnostic system (On-Board Diagnostics, OBD) and the transmitter anti-theft locking system. The most important component of the transmitter anti-theft locking system is the electronic anti-theft coil (Immobilizer coil, IMMO coil), which is installed in the car's ignition system to identify the car key.
[0055] The working principle of the IMMO coil can be simply summarized as follows: when the car key approaches or touches the IMMO coil, the chip in the key will emit a specific electromagnetic signal (with the key's own identification code), and the IMMO coil will receive this signal and convert it into electric current. Then, the IMMO coil will transmit the current to the car's electronic control unit (ECU), and the body controller will control the ECU to decode this signal and compare it with the key identification information stored in it (that is, the identity information of the key allowed to match the vehicle) to identify whether the key is an authorized key.
[0056] When using the IMMO coil to match a new key to a vehicle, the new key must be placed close to or in contact with the IMMO coil. The chip of the new key sends out an electromagnetic signal, which the IMMO coil receives and converts into an electric current and transmits to the ECU. The ECU decodes the signal and stores it as key identification information that is allowed to match. Only in this way can the new key and vehicle be matched.
[0057] However, this matching method can only be implemented if the new key is close to or in contact with the IMMO coil. In this case, it is necessary to find a locksmith company or break the window to open the car door in order to bring the new key close to or in contact with the IMMO coil. Therefore, this method causes huge losses and inconvenience to customers or after-sales service.
[0058] Based on the above problems, there is an urgent need to provide a key and vehicle matching method that does not rely on the vehicle OBD and IMMO coil, so as to reduce customer losses and improve the convenience of matching vehicles and keys.
[0059] Based on this, see Figure 1 In a first aspect, the present application provides a method for matching a vehicle and a key, which is executed by a body controller of a vehicle to be matched, and includes:
[0060] Step S110, obtaining the vehicle identification key of the vehicle to be matched, and sending the vehicle identification key to the reading and writing tool;
[0061] Step S120, receiving and storing the key identification code of the key to be matched;
[0062] Step S130: In response to receiving the key matching request information sent by the controller of the key to be matched, and the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0063] Specifically, the vehicle identification key is unique identification information belonging to the vehicle to be matched, representing the identity information of the vehicle to be matched, and a vehicle to be matched has only one specific vehicle identification key. The vehicle identification key may include a vehicle anti-theft key and / or a vehicle wake-up code.
[0064] In specific implementation, the body controller can control the calculation unit of the to-be-matched vehicle to calculate the vehicle identification key of the to-be-matched vehicle based on the vehicle identification number (VIN code) carried by the to-be-matched vehicle itself. Alternatively, a general external vehicle identification tool is used to calculate the vehicle identification key of the to-be-matched vehicle based on the vehicle identification number (VIN code) carried by the to-be-matched vehicle itself, and then the body controller obtains the vehicle identification key from the external vehicle identification tool.
[0065] After the body controller obtains the vehicle identification key of the vehicle to be matched, it sends the vehicle identification key to the reading and writing tool. The reading and writing tool can be an external universal key reading and writing tool, which can read the key information, write other information into the key, and can also exchange information with the body controller or the cloud.
[0066] When the body controller sends the vehicle identification key to the reading and writing tool, the reading and writing tool writes the vehicle identification key into the controller of the key to be matched after receiving the vehicle identification key. In this way, the vehicle identification key of the vehicle to be matched can be independently written into the controller of the key to be matched without the convenience of the IMMO coil, so as to complete the writing and storage of information at the key to be matched.
[0067] Then, the reading and writing tool reads the key identification code of the key to be matched. The key identification code is unique identification information belonging to the key to be matched, representing the identity information of the key to be matched. One key to be matched has only one key identification code.
[0068] After the reading and writing tool reads the key identification code of the key to be matched, it sends the key identification code to the body controller, which receives and stores the key identification code. Alternatively, the reading and writing tool uploads the key identification code to the cloud, which sends the key identification code to the body controller via the vehicle-mounted T-BOX (an important component of the Internet of Vehicles system, whose main function is to achieve communication between the vehicle and the outside world) of the vehicle to be matched. In this way, the key identification code of the key to be matched can be independently written into the body controller of the vehicle to be matched in the case where the IMMO coil is not conducive, so as to complete the writing and storage of information at the vehicle to be matched.
[0069] When both the vehicle to be matched and the key to be matched have completed information writing and storage, in response to receiving the key matching request information sent by the controller of the key to be matched, the key matching request information, the vehicle identification key and the key identification code are judged. When the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0070] The preset matching condition is a preset condition that allows the to-be-matched vehicle and the to-be-matched key to be paired successfully.
[0071] The key matching request information is the request information sent by the controller of the key to be matched to the vehicle body controller, and the key matching request information includes the key authentication code and the vehicle authentication code. The key authentication code and the vehicle authentication code are the identity information of the key to be matched and the identity information of the vehicle to be matched stored in the controller of the key to be matched.
[0072] The vehicle identification key and the key identification code are identity information about the key to be matched and the vehicle to be matched stored in the body controller of the vehicle to be matched.
[0073] Since multiple steps such as reading, writing, forwarding, and storing are required to store information in the body controller of the vehicle to be matched and the controller of the key to be matched, it is not certain whether the information stored in the body controller of the vehicle to be matched is consistent with the information stored in the controller of the key to be matched.
[0074] Therefore, when receiving the key matching request information sent by the controller of the key to be matched, the body controller needs to judge the information stored in the controller of the key to be matched, that is, the key matching request information, to determine whether the information stored in the controller of the key to be matched and the information stored in the body controller itself meet the preset matching conditions.
[0075] When the preset matching conditions are met, it means that the information stored in the body controller of the vehicle to be matched is consistent with the information stored in the controller of the key to be matched, and only then can it be determined that the matching of the vehicle to be matched and the key to be matched is successful; when the preset matching conditions are not met, it means that due to some special reasons (such as failure or error in some steps), the information stored in the body controller of the vehicle to be matched is inconsistent with the information stored in the controller of the key to be matched, and then it is determined that the matching of the vehicle to be matched and the key to be matched is unsuccessful. In this way, the matching of the vehicle to be matched and the key to be matched can be successfully completed without relying on the IMMO coil.
[0076] In the present application, only with the help of a reading and writing tool, the vehicle identification key can be written into the key to be matched, and the key identification code of the key to be matched can also be read and written so that the body controller can receive and store the key identification code of the key to be matched. In this way, the key identification code and the vehicle identification key can be written separately on the key to be matched and the vehicle to be matched, and then the information written on both ends is judged. If the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, it means that the information written on the vehicle to be matched and the key to be matched meets the requirements. At this time, it can be determined that the vehicle to be matched and the key to be matched are matched successfully. The execution of the entire matching method does not depend on the vehicle's IMMO coil, and there is no need to open the door when the vehicle is locked, which reduces customer losses and improves the convenience of matching vehicles and keys.
[0077] In some embodiments, the method further includes: in response to the key authentication code and the key identification code being consistent, and the vehicle authentication code and the vehicle identification key being consistent, determining that the key matching request information, the vehicle identification key and the key identification code meet preset matching conditions.
[0078] Specifically, when the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, it means that the information stored in the controller of the key to be matched (i.e., the key authentication code and the vehicle authentication code) is consistent with the information stored in the body controller itself (i.e., the key identification code and the vehicle identification key). At this time, it is determined that the preset matching conditions are met, and it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0079] In this application, whether the key to be matched meets the preset requirements is judged based on the key authentication code and vehicle authentication code stored in the controller of the key to be matched, and the key identification code and vehicle identification key stored in the body controller itself, which can improve the accuracy of the judgment and ensure that the matching is successful only when the conditions are met.
[0080] In some embodiments, the method further includes: in response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending a first synchronization code to the controller of the key to be matched;
[0081] Receiving feedback information sent by the controller of the key to be matched;
[0082] In response to the feedback information including the first synchronization code, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
[0083] Specifically, after determining that the key authentication code is consistent with the key identification code, and the vehicle authentication code is consistent with the vehicle identification key, a first synchronization code is sent to the controller of the key to be matched. The first synchronization code may be a random code randomly generated by the vehicle body controller for further verification.
[0084] When the controller of the key to be matched receives the first synchronization code, it encrypts the originally stored key authentication code, vehicle authentication code and the received first synchronization code to generate feedback information, and sends the feedback information to the body controller of the vehicle to be matched.
[0085] After receiving the feedback information, the body controller of the vehicle to be matched decrypts the feedback information. When the decrypted feedback information includes the first synchronization code, it is determined that the signal transmission between the body controller and the controller of the key to be matched is normal and safe. At this time, it can be determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, and it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0086] In the present application, when it is determined that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, the controller of the key to be matched is further verified by sending a first synchronization code and receiving feedback information containing the first synchronization code sent by the controller of the key to be matched, ensuring that the signal transmission between the body controller and the controller of the key to be matched is normal and secure, further improving the accuracy of the verification, and ensuring the accuracy and security of the matching.
[0087] In some embodiments, the method further includes: in response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending preliminary matching success information to the key to be matched;
[0088] Receiving a second synchronization code sent by the controller of the key to be matched;
[0089] Encrypting the vehicle identification key, the key identification code and the second synchronization code to generate authentication information, and sending the authentication information to the controller of the key to be matched;
[0090] In response to receiving the authentication success information sent by the controller of the key to be matched, it is determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions.
[0091] Specifically, when it is determined that the key authentication code is consistent with the key identification code, and the vehicle authentication code is consistent with the vehicle identification key, a preliminary matching success message is sent to the key to be matched. The preliminary matching success message is used to indicate that the key to be matched and the vehicle to be matched have completed preliminary matching.
[0092] When the controller of the key to be matched receives the preliminary matching success information, it sends a second synchronization code to the vehicle body controller. The second synchronization code may be a random code randomly generated by the controller of the key to be matched for further verification.
[0093] When the vehicle body controller receives the second synchronization code, it encrypts the originally stored vehicle identification key, key identification code and the received second synchronization code to generate authentication information, and sends the authentication information to the controller of the key to be matched.
[0094] When the controller of the key to be matched receives the authentication information, it decrypts it. If the decrypted authentication information includes the second synchronization code, it means that the signal transmission between the vehicle body controller and the controller of the key to be matched is normal and safe, and then authentication success information is sent to the vehicle body controller. The authentication success information is used to indicate that the controller of the vehicle to be matched is further authenticated successfully.
[0095] When the body controller receives the authentication success information, it is determined that the body controller can successfully receive various types of information sent by the controller of the key to be matched, indicating that the signal transmission between the body controller and the controller of the key to be matched is normal and safe. At this time, it is determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, and it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0096] In the present application, when it is determined that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, the controller of the key to be matched is further verified by sending a preliminary matching success message, receiving a second synchronization code, sending an authentication message containing the second synchronization code and receiving an authentication success message, to ensure that the signal transmission between the body controller and the controller of the key to be matched is normal and secure, further improving the accuracy of the verification and ensuring the accuracy and security of the matching.
[0097] See also Figure 2 In a second aspect, the present application provides a method for matching a vehicle and a key, which is executed by a controller of a key to be matched, wherein key matching request information is stored in the controller, and the method comprises:
[0098] Step S210: sending key matching request information to the body controller of the vehicle to be matched;
[0099] Step S220: In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0100] Specifically, the controller of the key to be matched may be built in the chip of the key to be matched.
[0101] The key matching request information is the request information sent by the controller of the key to be matched to the vehicle body controller, and the key matching request information includes the key authentication code and the vehicle authentication code. The key authentication code and the vehicle authentication code are the identity information of the key to be matched and the identity information of the vehicle to be matched stored in the controller of the key to be matched.
[0102] The key authentication code is the attribute information of the controller of the key to be matched. The vehicle authentication code is the information about the vehicle to be matched written into the controller of the key to be matched by the reading and writing tool.
[0103] A key matching request message is sent to the body controller of the vehicle to be matched. The body controller receives the key matching request message and determines that the key matching request message, the vehicle identification key and the key identification code meet the preset matching conditions, then determines that the vehicle to be matched and the key to be matched are matched successfully, and then sends matching success message to the controller of the key to be matched. The matching success message is used to indicate that the vehicle to be matched and the key to be matched are matched successfully.
[0104] The controller of the key to be matched receives the matching success information and determines that the vehicle to be matched and the key to be matched are matched successfully.
[0105] At the end of the key to be matched, a reading and writing tool can be used to write the vehicle identification key of the vehicle to be matched, and after writing, it is stored in the controller of the key to be matched in the form of a vehicle authentication code. When the key to be matched needs to be matched with the vehicle to be matched, the controller of the key to be matched sends a key matching request message with a key authentication code and a vehicle authentication code to the body controller of the vehicle to be matched. Once the matching success message sent by the body controller is received, it is determined that the vehicle to be matched and the key to be matched are matched successfully.
[0106] It is worth noting that although the reading and writing tool receives the vehicle identification key sent by the body controller of the vehicle to be matched and writes the vehicle identification key into the controller of the key to be matched, the controller of the key to be matched stores the received vehicle identification key in the form of a vehicle authentication code. However, the vehicle authentication code finally stored in the controller of the key to be matched is not necessarily completely consistent with the vehicle identification key stored in the body controller of the vehicle to be matched. This may be caused by failures or errors in some links such as transmission, forwarding, writing and storage, which may result in the vehicle authentication code finally stored in the controller of the key to be matched being different from the vehicle identification key stored in the body controller itself.
[0107] Similarly, although the reading and writing tool reads the key identification code of the key to be matched and sends the key identification code to the body controller and / or sends it to the body controller via the cloud, the key identification code stored in the body controller and the key authentication code stored in the key to be matched itself may not be completely consistent. This may be caused by failures or errors in some links such as reading, transmission and storage, resulting in the key identification code finally stored in the body controller of the vehicle to be matched being different from the key authentication code stored in the controller of the key to be matched itself.
[0108] Therefore, when the controller of the key to be matched sends a key matching request message with the key authentication code and the vehicle authentication code to the body controller, the body controller needs to judge the key matching request message, the vehicle identification key and the key identification code. If the preset matching conditions are met, it is determined that the vehicle to be matched and the key to be matched are matched successfully; if the preset matching conditions are not met, it is determined that the vehicle to be matched and the key to be matched are matched unsuccessfully, thereby ensuring the accuracy and security of the matching.
[0109] In the present application, at the end of the key to be matched, a reading and writing tool can be used to write the vehicle identification key of the vehicle to be matched, and after writing, it is stored in the controller of the key to be matched in the form of a vehicle authentication code. In this way, the vehicle identification key of the vehicle to be matched can be independently written into the controller of the key to be matched without relying on the IMMO coil, so as to complete the writing and storage of information at the end of the key to be matched.
[0110] In some embodiments, the method further comprises:
[0111] Receiving a first synchronization code sent by a body controller of the vehicle to be matched;
[0112] Encrypting the key authentication code, the vehicle authentication code and the first synchronization code to generate feedback information, and sending the feedback information to the body controller of the vehicle to be matched;
[0113] In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0114] Specifically, after sending a key matching request message to the body controller of the vehicle to be matched, the first synchronization code sent by the body controller of the vehicle to be matched is received, and then the key authentication code, vehicle authentication code and the received first synchronization code originally stored in the controller of the key to be matched are encrypted to generate feedback information, and the feedback information is sent to the body controller of the vehicle to be matched.
[0115] After receiving the feedback information, the body controller of the vehicle to be matched decrypts the feedback information. When the decrypted feedback information includes the first synchronization code, it is determined that the signal transmission between the body controller and the controller of the key to be matched is normal and safe. At this time, it can be determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, and it is determined that the vehicle to be matched and the key to be matched are matched successfully, and matching success information is sent to the controller of the key to be matched. The matching success information is used to indicate that the key to be matched and the vehicle to be matched are matched successfully.
[0116] In the present application, after sending the key matching request information, the first synchronization code is further received, and the first synchronization code, the key authentication code and the vehicle authentication code are encrypted to generate feedback information and send it to verify the communication security between the controller of the key to be matched and the body controller of the vehicle to be matched, thereby ensuring that the signal transmission between the body controller and the controller of the key to be matched is normal and safe, further improving the accuracy of the verification and ensuring the accuracy and security of the matching.
[0117] In some embodiments, the method further comprises:
[0118] Receiving preliminary matching success information sent by the body controller of the to-be-matched vehicle, and sending a second synchronization code to the body controller;
[0119] Receiving authentication information sent by the vehicle body controller;
[0120] In response to determining that the authentication information includes the second synchronization code, sending authentication success information to the vehicle body controller;
[0121] In response to receiving the matching success information sent by the to-be-matched vehicle, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0122] Specifically, after sending key matching request information to the body controller of the to-be-matched vehicle, receiving preliminary matching success information sent by the body controller of the to-be-matched vehicle, and sending a second synchronization code to the body controller.
[0123] After receiving the second synchronization code, the vehicle body controller encrypts the originally stored vehicle identification key, the key identification code and the received second synchronization code to generate authentication information, and sends the authentication information to the controller of the key to be matched.
[0124] The controller of the key to be matched receives the authentication information and decrypts it. If the decrypted authentication information includes the second synchronization code, it means that the signal transmission between the body controller and the controller of the key to be matched is normal and safe at this time, then the authentication success information is sent to the body controller.
[0125] After receiving the authentication success information, the body controller determines that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions, determines that the vehicle to be matched and the key to be matched are matched successfully, and sends a matching success information to the controller of the key to be matched.
[0126] In the present application, after sending the key matching request information, the communication security between the controller of the key to be matched and the body controller of the vehicle to be matched is verified by further sending a second synchronization code, receiving the authentication information sent by the body controller, and judging the authentication information, thereby ensuring that the signal transmission between the body controller and the controller of the key to be matched is normal and secure, further improving the accuracy of the verification, and ensuring the accuracy and security of the matching.
[0127] See also Figure 3 The third aspect of the present application provides a method for matching a vehicle and a key, which is performed by a reading and writing tool, and includes:
[0128] Step S310, receiving a vehicle identification key sent by a body controller of a to-be-matched vehicle, and writing the vehicle identification key into the controller of the to-be-matched key;
[0129] Step S320: read the key identification code of the key to be matched, and send the key identification code to the vehicle body controller and / or upload it to the cloud.
[0130] Specifically, the reading and writing tool may be a universal vehicle key reading and writing tool.
[0131] The reading and writing tool is a third-party tool, which is used to read the key identification code of the key to be matched, and send the key identification code to the body controller, and / or upload it to the cloud, and send it to the body controller via the cloud and the vehicle-mounted T-BOX. It is also used to receive the vehicle identification key sent by the body controller of the vehicle to be matched, and write the vehicle identification key into the controller of the key to be matched.
[0132] In this way, the vehicle identification key can be written into the key to be matched with the help of a reading and writing tool. At the same time, the key identification code of the key to be matched can also be read and written so that the body controller can receive and store the key identification code of the key to be matched. In this way, the key identification code and vehicle identification key can be written separately on the key to be matched and the vehicle to be matched. It does not rely on the vehicle's IMMO coil, and there is no need to open the door when the vehicle is locked, which reduces customer losses and improves the convenience of matching vehicles and keys.
[0133] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0134] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0135] In some embodiments, the present application also provides a vehicle and key matching system, comprising a body controller, a key controller and a reading and writing tool that are communicatively connected to each other, the body controller is used to execute the method described in any one of the first aspect above, the key controller is used to execute the method described in any one of the second aspect above, and the reading and writing tool is used to execute the method described in the third aspect above.
[0136] Specifically, the vehicle and key matching system may execute a vehicle and key matching method, the method comprising:
[0137] Step 1: Calculate the anti-theft key, wake-up code, and / or generate a random synchronization code based on the vehicle VIN code;
[0138] Step 2: Use the key low-frequency reading and writing tool to read and write the key to be matched, read the key's IDE (i.e. the key identification code mentioned above), and write the SK, wake-up code and synchronization code into the key.
[0139] Step 3: Through cloud diagnosis, TBOX and CEM send the IDE of the key to be matched to the PEPS controller (equivalent to the body controller) through a secure transmission channel for storage.
[0140] Step 4: Synchronize the key and the PEPS controller's synchronization code. Send the synchronization code to the PEPS controller through the TBOX and store it.
[0141] Step 5: After the PEPS controller completes synchronization, the key and vehicle are matched, and the key is used to control and start the vehicle.
[0142] In the present application, the key and the vehicle can be matched without the IMMO coil and when the vehicle is locked, and the key matching can be completed by writing separate secret key information at the key end and the body controller end.
[0143] It is worth noting that the consistency of "A" and "B" described in the present application may mean that "A" and "B" are exactly the same, or that "A" and "B" express the same or similar meanings. Exemplarily, the consistency of the key authentication code and the key identification code may mean that the key authentication code and the key identification code are exactly the same, or that the key authentication code and the key identification code represent the same meaning. Specifically, when the key authentication code is 1, 1 represents a key with a certain specific attribute, and the key identification code is a, a also represents a key with a certain specific attribute, then since 1 and a represent the same meaning, it is determined that the key authentication code and the key identification code are consistent.
[0144] Based on the same inventive concept, corresponding to any embodiment method executed by the body controller of the vehicle to be matched, the present application also provides a first vehicle and key matching device.
[0145] refer to Figure 4 , the matching device of the vehicle and the key comprises:
[0146] The acquisition module 100 is configured to acquire the vehicle identification key of the vehicle to be matched, and send the vehicle identification key to the reading and writing tool;
[0147] The storage module 200 is configured to receive and store a key identification code of a key to be matched;
[0148] The first determination module 300 is configured to determine that the vehicle to be matched and the key to be matched are matched successfully in response to receiving a key matching request message sent by the controller of the key to be matched, and the key matching request message, the vehicle identification key and the key identification code meet the preset matching conditions.
[0149] In some embodiments, the key matching request information includes a key authentication code and a vehicle authentication code.
[0150] In some embodiments, the first determining module 300 further includes:
[0151] In response to the key authentication code and the key identification code being consistent, and the vehicle authentication code and the vehicle identification key being consistent, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
[0152] In some embodiments, the first determining module 300 further includes:
[0153] In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending a first synchronization code to the controller of the key to be matched;
[0154] Receiving feedback information sent by the controller of the key to be matched;
[0155] In response to the feedback information including the first synchronization code, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
[0156] In some embodiments, the first determining module 300 further includes:
[0157] In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending preliminary matching success information to the key to be matched;
[0158] Receiving a second synchronization code sent by the controller of the key to be matched;
[0159] Encrypting the vehicle identification key, the key identification code and the second synchronization code to generate authentication information, and sending the authentication information to the controller of the key to be matched;
[0160] In response to receiving the authentication success information sent by the controller of the key to be matched, it is determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions.
[0161] Based on the same inventive concept, corresponding to any embodiment method executed by the controller of the key to be matched, the present application also provides a second vehicle and key matching device.
[0162] refer to Figure 5 , the matching device of the vehicle and the key comprises:
[0163] The sending module 400 is configured to send key matching request information to the body controller of the vehicle to be matched;
[0164] The second determination module 500 is configured to determine that the to-be-matched vehicle and the to-be-matched key are matched successfully in response to receiving the matching success information sent by the vehicle body controller.
[0165] In some embodiments, the key matching request information includes a key authentication code and a vehicle authentication code.
[0166] In some embodiments, the second determination module 500 is further configured to:
[0167] Receiving a first synchronization code sent by a body controller of the vehicle to be matched;
[0168] Encrypting the key authentication code, the vehicle authentication code and the first synchronization code to generate feedback information, and sending the feedback information to the body controller of the vehicle to be matched;
[0169] In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0170] In some embodiments, the second determination module 500 is further configured to:
[0171] Receiving preliminary matching success information sent by the body controller of the vehicle to be matched;
[0172] Sending a second synchronization code to the vehicle body controller;
[0173] Receiving authentication information sent by the vehicle body controller;
[0174] In response to determining that the authentication information includes the second synchronization code, sending authentication success information to the vehicle body controller;
[0175] In response to receiving the matching success information sent by the to-be-matched vehicle, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
[0176] Based on the same inventive concept, corresponding to any embodiment method executed by the above-mentioned reading and writing tool, the present application also provides a third vehicle and key matching device.
[0177] refer to Figure 6 , the matching device of the vehicle and the key comprises:
[0178] The writing module 600 is configured to receive the vehicle identification key sent by the body controller of the to-be-matched vehicle, and write the vehicle identification key into the controller of the to-be-matched key;
[0179] The reading module 700 is configured to read the key identification code of the key to be matched, and send the key identification code to the vehicle body controller and / or upload it to the cloud.
[0180] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0181] The device of the above embodiment is used to implement the corresponding vehicle and key matching method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0182] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the vehicle and key matching method described in any of the above embodiments is implemented.
[0183] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0184] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0185] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0186] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0187] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0188] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0189] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0190] The electronic device of the above embodiment is used to implement the corresponding vehicle and key matching method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0191] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the vehicle and key matching method described in any of the above embodiments.
[0192] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0193] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the vehicle and key matching method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0194] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a computer program product, including computer program instructions. When the computer program instructions are run on a computer, the computer executes the vehicle and key matching method as described in any of the above embodiments, which has the beneficial effects of the corresponding method embodiments and will not be repeated here.
[0195] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides a vehicle, which includes the vehicle and key matching device, electronic device, computer-readable storage medium or computer program product described in any or part of the above-mentioned embodiments.
[0196] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0197] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0198] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0199] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0200] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0201] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0202] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0203] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A method for matching a vehicle and a key, executed by a body controller of a vehicle to be matched, It is characterized in that include: Obtain the vehicle identification key of the vehicle to be matched, and send the vehicle identification key to the reading and writing tool; receiving and storing a key identification code of a key to be matched; In response to receiving a key matching request message sent by a controller of the key to be matched, and the key matching request message, the vehicle identification key and the key identification code meet a preset matching condition, it is determined that the vehicle to be matched and the key to be matched are matched successfully.
2. The method according to claim 1, It is characterized in that The key matching request information includes a key authentication code and a vehicle authentication code; The method further comprises: In response to the key authentication code and the key identification code being consistent, and the vehicle authentication code and the vehicle identification key being consistent, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
3. The method according to claim 1, It is characterized in that The key matching request information includes a key authentication code and a vehicle authentication code; The method further comprises: In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending a first synchronization code to the controller of the key to be matched; Receiving feedback information sent by the controller of the key to be matched; In response to the feedback information including the first synchronization code, it is determined that the key matching request information, the vehicle identification key and the key identification code meet a preset matching condition.
4. The method according to claim 1, It is characterized in that The key matching request information includes a key authentication code and a vehicle authentication code; The method further comprises: In response to determining that the key authentication code and the key identification code are consistent, and the vehicle authentication code and the vehicle identification key are consistent, sending preliminary matching success information to the key to be matched; Receiving a second synchronization code sent by the controller of the key to be matched; Encrypting the vehicle identification key, the key identification code and the second synchronization code to generate authentication information, and sending the authentication information to the controller of the key to be matched; In response to receiving the authentication success information sent by the controller of the key to be matched, it is determined that the key matching request information, the vehicle identification key and the key identification code meet the preset matching conditions.
5. A method for matching a vehicle and a key, executed by a controller of a key to be matched, It is characterized in that The controller stores key matching request information, and the method includes: Sending key matching request information to the body controller of the vehicle to be matched; In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
6. The method according to claim 5, It is characterized in that The key matching request information includes a key authentication code and a vehicle authentication code; Also includes: Receiving a first synchronization code sent by a body controller of the vehicle to be matched; Encrypting the key authentication code, the vehicle authentication code and the first synchronization code to generate feedback information, and sending the feedback information to the body controller of the vehicle to be matched; In response to receiving the matching success information sent by the vehicle body controller, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
7. The method according to claim 5, It is characterized in that Also includes: Receiving preliminary matching success information sent by the body controller of the to-be-matched vehicle, and sending a second synchronization code to the body controller; Receiving authentication information sent by the vehicle body controller; In response to determining that the authentication information includes the second synchronization code, sending authentication success information to the vehicle body controller; In response to receiving the matching success information sent by the to-be-matched vehicle, it is determined that the to-be-matched vehicle and the to-be-matched key are matched successfully.
8. A method for matching a vehicle and a key, performed by a reading and writing tool, It is characterized in that include: Receiving a vehicle identification key sent by a body controller of a to-be-matched vehicle, and writing the vehicle identification key into a controller of a to-be-matched key; Read the key identification code of the key to be matched, and send the key identification code to the body controller and / or upload it to the cloud.
9. A vehicle and key matching system, It is characterized in that It comprises a body controller, a key controller and a read-write tool which are communicatively connected to each other, the body controller is used to execute the method described in any one of claims 1 to 4, the key controller is used to execute the method described in any one of claims 5 to 7, and the read-write tool is used to execute the method described in claim 8.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 4 or any one of 5 to 7 is implemented.
11. A vehicle, It is characterized in that The electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 4 when executing the program.
Citation Information
Patent Citations
Automobile key matching method and device and automobile communication interface equipment
CN112311892A
Anti-theft key matching method and device and computer equipment
CN114162080A
Fob key pairing method, device, storage medium and system
CN116884119A
Systems and methods for mobile phone key fob management
US20160300417A1
