WO2022095789A1 - Automobile key matching method and apparatus, and automobile communication interface device - Google Patents

Automobile key matching method and apparatus, and automobile communication interface device Download PDF

Info

Publication number
WO2022095789A1
WO2022095789A1 PCT/CN2021/127117 CN2021127117W WO2022095789A1 WO 2022095789 A1 WO2022095789 A1 WO 2022095789A1 CN 2021127117 W CN2021127117 W CN 2021127117W WO 2022095789 A1 WO2022095789 A1 WO 2022095789A1
Authority
WO
WIPO (PCT)
Prior art keywords
car
matched
matching
key
information
Prior art date
Application number
PCT/CN2021/127117
Other languages
French (fr)
Chinese (zh)
Inventor
徐海洋
邓仁祥
Original Assignee
深圳市道通科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市道通科技股份有限公司 filed Critical 深圳市道通科技股份有限公司
Publication of WO2022095789A1 publication Critical patent/WO2022095789A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • B60R25/24Means to switch the anti-theft system on or off using electronic identifiers containing a code not memorised by the user
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/008Registering or indicating the working of vehicles communicating information to a remotely located station
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C5/00Registering or indicating the working of vehicles
    • G07C5/08Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
    • G07C5/0841Registering performance data
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Definitions

  • the present application relates to the technical field of automobiles, and in particular, to a method and device for car key matching, and a car communication interface device.
  • the car key is an important part of the car anti-theft system.
  • the current car key is a smart key, and the smart car key needs to be matched with the car to unlock or lock the car.
  • the owner will go through a traditional repair shop or a professional locksmith to match the key.
  • the process of car keys in traditional repair shops includes: ordering car keys from the manufacturer, and after the car keys are returned to the 4S shop, the original matching instrument is used to match the car keys to the car to complete the matching operation.
  • the traditional car communication interface device is a device used for communication between cars and external devices, such as car diagnostic devices, mobile terminals, or cloud servers, etc. With the ability to edit the car key to match the car key with the car.
  • the embodiments of the present invention provide a method and device for car key matching, and a car communication interface device, which overcome the above problems or at least partially solve the above problems.
  • a method for matching a car key is provided, which is applied to a car communication interface device, where the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to realize the matching with the car key to be matched.
  • the method includes: acquiring vehicle information of the car to be matched from the car to be matched; sending the vehicle information to the cloud server, so that the cloud server can query the car key program and car key data related to the vehicle information according to the vehicle information; write the car key program and the car key data into all the data through the low-frequency communication unit the car key to be matched; obtain the anti-theft application data of the car to be matched from the car to be matched; send the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft application data according to the anti-theft application data anti-theft password; receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, the car to be matched In the matching mode, it can be paired with the key to be matched.
  • the method further includes: sending a matching request to the car to be matched to trigger the car to be matched to start a matching mode, and the car to be matched can be matched with the car in the matching mode
  • the key to be matched is paired; if the car key to be matched does not match the car to be matched, enter the step of obtaining the anti-theft application data of the car to be matched from the car to be matched.
  • the method further includes: receiving the write response information returned by the car key to be matched; judging whether the write response information is writing success information or writing failure information; If the writing success information is received, enter the step of sending a matching request to the car to be matched; if the writing failure information is the writing failure information, output a writing failure prompt.
  • the method further includes: receiving matching response information returned by the car to be matched; judging whether the matching response information is matching successful information or matching failure information; if the matching successful information, then A matching success prompt is output; if the matching failure information is described, a matching failure prompt is output.
  • the step of obtaining the vehicle information of the car to be matched from the car to be matched further includes: sending a monitoring request to the car to be matched; the vehicle information returned by the monitoring request.
  • an apparatus for matching a car key is provided, which is applied to a car communication interface device, where the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to realize the matching with the car key to be matched.
  • the vehicle communication interface device is respectively connected to the vehicle to be matched and the cloud server, and the device includes: a first acquisition module for acquiring vehicle information of the vehicle to be matched from the vehicle to be matched; a first A sending module is used to send the vehicle information to the cloud server, so that the cloud server can query the car key program and car key data related to the vehicle information according to the vehicle information; the writing module is used to write The car key program and the car key data are written into the to-be-matched car key through the low-frequency communication unit; a second acquisition module is used to obtain the anti-theft application data of the to-be-matched car from the to-be-matched car; The second sending module is used to send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; the first receiving module is used to receive the data sent by the cloud server.
  • the key to be matched is paired.
  • the device further includes: a third sending module, configured to send a matching request to the car to be matched, so as to trigger the car to be matched to start a matching mode, where the car to be matched is in The matching mode can be paired with the key to be matched; if the car key to be matched does not match the car to be matched, enter the second acquisition module.
  • a third sending module configured to send a matching request to the car to be matched, so as to trigger the car to be matched to start a matching mode, where the car to be matched is in The matching mode can be paired with the key to be matched; if the car key to be matched does not match the car to be matched, enter the second acquisition module.
  • the device further includes: a second receiving module for receiving the written response information returned by the car key to be matched; a first judging module for judging the written response information Whether to write success information or write failure information; if it is the write success information, enter the third sending module; the first output module is used if the write response information is the write failure information , the output writing failure prompt.
  • the device further includes: a third receiving module for receiving matching response information returned by the car to be matched; a second judging module for judging whether the matching response information is a successful match information is still matching failure information; the second output module is used for outputting a matching success prompt if the matching response information is the matching successful information; the third output module is used for if the matching response information is the matching failure information, a matching failure prompt is output.
  • the first obtaining module includes: a sending unit, configured to send a monitoring request to the car to be matched; an obtaining unit, configured to obtain the data returned by the car to be matched according to the monitoring request the vehicle information.
  • an automobile communication interface device including: an automobile communication interface for communicating with the car to be matched; a first communication module for communicating with a cloud server; a second communication module , used to communicate and connect with the car key to be matched, wherein the second communication module includes a low-frequency communication unit; a processor, which is respectively connected to the car communication interface, the first communication module and the second communication module. and a memory communicatively coupled to the processor, the memory storing instructions executable by the processor, the instructions being executed by the processor to enable the processor to perform the above-described How to match car keys.
  • the vehicle communication interface is an OBD communication interface.
  • the first communication module is a wireless communication module.
  • the low-frequency communication unit includes a signal processing module, a low-frequency modulation module, a low-frequency transmitting module, and a low-frequency antenna, and the signal processing module, the low-frequency modulation module, the low-frequency transmitting module, and the low-frequency antenna are connected in sequence.
  • the second communication module further includes a high-frequency communication unit, and the high-frequency communication unit is configured to receive data fed back by the car key to be matched.
  • the processor includes a first processing unit, a second processing unit and a third processing unit; the first processing unit, the second processing unit and the third processing unit are all electrically connected through a bus , the first processing unit is used to process the information that the car communication interface device interacts with the car to be matched, the second processing unit is used to process the information that the car communication interface device interacts with the cloud server, the The third processing unit is used for processing the information that the vehicle communication interface device interacts with the vehicle key to be matched.
  • the processor further includes an encoding/decoding unit, the encoding/decoding unit is connected to the bus, and the first processing unit, the second processing unit and the third processing unit process the interactive
  • the information is adapted to the protocol format through the codec unit.
  • the memory includes a first storage unit, a second storage unit and a third storage unit; the first storage unit, the second storage unit and the third storage unit are all connected to the bus , the first storage unit is used to store the car key program and car key data written into the car key to be matched, the second storage unit is used to store the information fed back by the car to be matched, and the third storage unit is used to store Information returned by the cloud server.
  • the beneficial effect of the embodiment of the present invention is: different from the existing method for realizing the car key matching agent, the communication interface device of the present embodiment obtains the car key program and the car key corresponding to the vehicle information of the car to be matched from the cloud server data, then write the car key program and the car key data into the car key to be matched, then obtain the anti-theft application data from the car to be matched, and obtain the anti-theft password according to the anti-theft application data, and according to the anti-theft password, compare the car key to be matched with the car key to be matched. Matching the car for pairing can realize the matching of the car key through the car communication interface device, and the user experience is good.
  • the car key program and car key data are obtained from the cloud server according to the vehicle information of the car, that is, if the vehicle information is different, the car key program and car key data are different, and the method is applicable to different car.
  • FIG. 1 is a schematic structural diagram of an implementation environment of a method for car key matching provided by an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of another implementation environment of a method for matching a car key provided by an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of a method for matching a car key provided by an embodiment of the present invention
  • FIG. 4 is a schematic flowchart of a method for acquiring vehicle information provided by an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of a method for judging whether a car key matching is successful provided by an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of a device for matching a car key provided by an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of a vehicle communication interface device provided by an embodiment of the present invention.
  • FIG. 10 is a connection relationship diagram of each component of an automotive communication interface device provided by an embodiment of the present invention.
  • FIG. 11 is a schematic diagram of each component of a vehicle communication interface device provided by an embodiment of the present invention.
  • FIG. 1 is a schematic structural diagram of an implementation environment of a method for matching a car key 200 provided by an embodiment of the present invention.
  • the implementation environment includes a car communication interface device 100, a car key to be matched 200, a cloud server 300 and a car key to be matched.
  • Match car 400 is a schematic structural diagram of an implementation environment of a method for matching a car key 200 provided by an embodiment of the present invention.
  • the implementation environment includes a car communication interface device 100, a car key to be matched 200, a cloud server 300 and a car key to be matched.
  • Match car 400 Match car 400.
  • the vehicle communication interface device 100 is respectively connected to the vehicle key to be matched 200 , the cloud server 300 and the vehicle to be matched 400 for data exchange.
  • the implementation environment further includes a mobile terminal 500 , and the vehicle communication interface device 100 is communicatively connected to the cloud server 300 through the mobile terminal 500 for data interaction.
  • the vehicle communication interface device 100 is communicatively connected to the mobile terminal 500 through a Bluetooth device.
  • FIG. 3 is a schematic flowchart of a method for matching a car key provided by an embodiment of the present invention.
  • the method includes the following steps:
  • Step S101 acquiring vehicle information of the car to be matched from the car to be matched.
  • the vehicle information includes at least one of vehicle model, vehicle model, and age.
  • the vehicle information also includes information used to represent the car to be matched, such as a VIN code, that is, the VIN code is used to identify the car to be matched currently, and the VIN code is information uniquely corresponding to the car to be matched.
  • vehicle information of the car to be matched is acquired from the car to be matched.
  • the vehicle communication interface device is provided with an OBD interface, and the vehicle information can be acquired when the vehicle communication interface device is connected to the ECU of the vehicle through the OBD interface.
  • step S101 includes:
  • Step S1011 sending a monitoring request to the vehicle to be matched.
  • Step S1012 acquiring the vehicle information returned by the vehicle to be matched according to the monitoring request.
  • Step S102 sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
  • the cloud server stores a car key program and car key data, and the car key program and car key data are matched with the vehicle information, such as matching with the model, that is, a car of a different model Corresponding to different car key programs and car key data.
  • the car key data is memory data used by the car key to open the car.
  • the car key program is used to pair the car to be matched with the car key to be matched according to the car key data.
  • a method for pairing the key to be matched with the car to be matched includes:
  • Step a the car to be matched sends an input code to the car communication interface device through the OBD interface of the car communication interface device.
  • Step b the vehicle communication interface device forwards the input code to the to-be-matched vehicle key through the low-frequency communication unit.
  • step c the car key program in the car key to be matched performs an algorithm to convert the input code into a matching code according to the car key data.
  • Step d the car key to be matched sends the matching code to the car communication interface device through the low-frequency communication unit.
  • Step e the vehicle communication interface device sends the matching code to the vehicle to be matched through the OBD interface.
  • step f the vehicle to be matched identifies the matching code and completes the pairing.
  • the vehicle communication interface device includes a VCI device and a mobile terminal, then the VCI device obtains the vehicle information from the to-be-matched car through an OBD interface, and then the VCI device obtains the vehicle information through the OBD interface.
  • Bluetooth sends the vehicle information to the mobile terminal, and then the mobile terminal sends the vehicle information to the cloud server through wireless communication.
  • Step S103 writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
  • the low frequency communication unit is used to write the car key program and the car key data into the to-be-matched car key through the low frequency communication unit.
  • Step S104 obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
  • the above input code can be directly obtained from the car, Then, the car key matching is performed through the above steps a, b, c, d, e and f.
  • the anti-theft system must be cracked first. That is, the anti-theft application data is cracked.
  • Step S105 sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
  • the anti-theft password is equivalent to the input code in the above step a.
  • Step S106 Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
  • An implementation manner of pairing the car to be matched with the key to be matched in the matching mode includes:
  • Step a' the car communication interface device sends the anti-theft password to the car key to be matched through the OBD interface.
  • Step b' the car key program in the car key to be matched performs an algorithmic conversion of the anti-theft password into a matching password according to the car key data.
  • Step c' the car key to be matched sends the matching password to the car communication interface device through the low-frequency communication unit.
  • Step d' the vehicle communication interface device sends the matching password to the vehicle to be matched through the OBD interface.
  • Step e' the vehicle to be matched identifies the matching password and completes the pairing.
  • the vehicle communication interface device obtains the vehicle information of the to-be-matched car from the to-be-matched car; sends the vehicle information to the cloud server, so that the cloud server can make the vehicle information based on the vehicle information Query the car key program and car key data related to the vehicle information; write the car key program and the car key data into the car key to be matched through the low-frequency communication unit; obtain from the car to be matched the anti-theft application data of the car to be matched; send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; receive the anti-theft application data sent by the cloud server password, and send a trigger request carrying the anti-theft password to the car to be matched to trigger the car to be matched to start the matching mode, where the car to be matched can be paired with the key to be matched in the matching mode , that is, the car communication interface device obtains the car key program and car key
  • FIG. 5 is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention. The method includes the following steps:
  • Step S101 acquiring vehicle information of the car to be matched from the car to be matched.
  • Step S102 sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
  • Step S103 writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
  • Step S104a sending a matching request to the car to be matched to trigger the car to be matched to start the matching mode, the car to be matched can be paired with the key to be matched in the matching mode, if the car key to be matched is paired with the key to be matched If it does not match the car to be matched, go to step S104. .
  • the matching request is used to trigger the matching mode, so as to pair the car to be matched with the car key to be matched.
  • the matching mode is unsuccessful. In this case, the subsequent step S104 needs to be performed to crack the anti-theft system.
  • the car to be matched can be directly paired with the car key to be matched.
  • Step S104 obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
  • Step S105 sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
  • Step S106 Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
  • the car communication interface device first sends a matching request to the to-be-matched car, the to-be-matched car If the matching car key is successfully matched with the car to be matched, there is no need to further obtain the anti-theft application data of the car.
  • the car key to be matched does not match the car to be matched, enter the The step of matching the car to obtain the anti-theft application data of the to-be-matched car has high efficiency of car key matching.
  • the car key program and the car key data may fail to be written into the to-be-matched car key.
  • the pairing fails because the writing is not successful, which will undoubtedly reduce the efficiency of pairing. Therefore, in some embodiments, please refer to FIG. 6, the car key matching methods include:
  • Step S101 acquiring vehicle information of the car to be matched from the car to be matched.
  • Step S102 sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
  • Step S103 writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
  • Step S103a receiving the written response information returned by the car key to be matched.
  • the write response information includes write success information or write failure information.
  • step S103b it is determined whether the write response information is write success information or write failure information, if it is the write success information, step S104a is executed, otherwise, a write failure prompt is output.
  • the to-be-matched car key will send a write response message after the car communication interface device writes the car key program and the car key data to it.
  • the automotive communication interface device will After the first preset time after the car key program and the car key data are written into the to-be-matched car key, a write-in verification request is sent to the to-be-matched car key, and the write-in verification request is used to verify whether the writing is successful .
  • the to-be-matched car key receives and returns the write-in response information according to the write-in verification request.
  • step S103d can also be executed to output a write failure prompt .
  • Step S104a sending a matching request to the car to be matched to trigger the car to be matched to start the matching mode, the car to be matched can be paired with the key to be matched in the matching mode, if the car key to be matched is paired with the key to be matched If it does not match the car to be matched, go to step S104.
  • the matching request is used to trigger the matching mode, so as to pair the car to be matched with the car key to be matched.
  • the matching mode is unsuccessful. In this case, the subsequent step S104 needs to be performed to crack the anti-theft system.
  • the car to be matched can be directly paired with the car key to be matched.
  • Step S104 obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
  • Step S105 sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
  • Step S106 Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
  • the method for matching the car key further includes:
  • Step S107 receiving the matching response information returned by the vehicle to be matched.
  • the matching response information includes matching success information or matching failure information, and the matching success information is used to indicate that the car to be matched is successfully paired with the car key to be matched.
  • the matching failure information is used to indicate that the pairing of the to-be-matched car and the to-be-matched car key fails.
  • Step S108 it is determined whether the matching response information is matching success information or matching failure information.
  • Step S109 if the matching information is successful, output a matching success prompt.
  • Step S110 if the matching failure information is mentioned, output a matching failure prompt.
  • the car key program and the car key data are written into the to-be-matched car key through the low-frequency communication unit, it is first judged whether the writing is successful or the writing fails, Entering the step of sending a matching request to the car to be matched and further entering the step of obtaining the anti-theft application data of the car to be matched from the car to be matched can be avoided without the car key program and the car key
  • the data is written into the car to be matched, that is, the pairing program of the car to be matched and the car key to be matched is executed, the efficiency of matching the car key is high.
  • FIG. 8 is a schematic diagram of a car key matching device provided by an embodiment of the present invention, which is applied to a car communication interface device.
  • the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to communicate with The car key to be matched realizes low-frequency communication, and the car communication interface device is respectively connected to the car to be matched and the cloud server for communication.
  • module 404 a second sending module 405 and a first receiving module 406 .
  • the first obtaining module 401 is used to obtain the vehicle information of the car to be matched from the car to be matched; the first sending module 402 is used to send the vehicle information to the cloud server, so that the cloud The server queries the car key program and car key data related to the vehicle information according to the vehicle information; the writing module 403 is used to write the car key program and the car key data into all the car key programs and the car key data through the low-frequency communication unit.
  • the car key to be matched the second obtaining module 404 is used to obtain the anti-theft application data of the car to be matched from the car to be matched; the second sending module 405 is used to send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; the first receiving module 406 is configured to receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password It is sent to the car to be matched to trigger the car to be matched to start a matching mode, and the car to be matched can be paired with the key to be matched in the matching mode.
  • the apparatus further includes: a third sending module 407 .
  • the third sending module 407 is configured to send a matching request to the car to be matched, so as to trigger the car to be matched to start a matching mode, and the car to be matched can be paired with the key to be matched in the matching mode; If the car key to be matched does not match the car to be matched, enter the second acquisition module.
  • the apparatus further includes: a second receiving module 408 , a first judging module 409 and a first outputting module 410 .
  • the second receiving module 408 is used to receive the write response information returned by the car key to be matched;
  • the first judgment module 409 is used to determine whether the write response information is written success information or write failure information; if it is The writing success information is entered into the third sending module;
  • the first output module 410 is configured to output a writing failure prompt if the writing response information is the writing failure information.
  • the apparatus further includes: a third receiving module 411 , a second determining module 412 , a second outputting module 413 and a third outputting module 414 .
  • the third receiving module 411 is used to receive the matching response information returned by the car to be matched;
  • the second judging module 412 is used to determine whether the matching response information is matching success information or matching failure information;
  • the second output module 413 is used for If the matching response information is the matching success information, output a matching success prompt;
  • the third output module 414 is configured to output a matching failure prompt if the matching response information is the matching failure information.
  • the first obtaining module 401 includes: a sending unit 4011 and an obtaining unit 4012 .
  • the sending unit 4011 is configured to send a monitoring request to the car to be matched;
  • the acquiring unit 4012 is configured to obtain the vehicle information returned by the car to be matched according to the monitoring request.
  • the vehicle communication interface device obtains the vehicle information of the to-be-matched car from the to-be-matched car through the first obtaining module; sends the vehicle information to the cloud server through the first sending module, so that the The cloud server inquires about the car key program and car key data related to the vehicle information according to the vehicle information; writes the car key program and the car key data through the low-frequency communication unit through the writing module.
  • the car key to be matched the anti-theft application data of the car to be matched is obtained from the car to be matched through the second acquisition module; the anti-theft application data is sent to the cloud server through the second sending module, so that the The cloud server parses the anti-theft password according to the anti-theft application data; receives the anti-theft password sent by the cloud server through the first receiving module, and sends a trigger request carrying the anti-theft password to the car to be matched to Trigger the to-be-matched car to start the matching mode, and the to-be-matched car can be paired with the to-be-matched key in the matching mode, that is, the car communication interface device acquires the car key program and car key data matched with the to-be-matched car , and then write it into the key to be matched through the low-frequency communication unit, then the car to be matched can be paired with the car key to be matched to achieve car key matching, and the user experience is good.
  • FIG. 9 is a schematic diagram of an automobile communication interface device provided by an embodiment of the present invention.
  • FIG. 10 is a connection diagram of each component of the automobile communication interface device provided by an embodiment of the present invention.
  • the car communication interface device 100 includes: a casing 101 , a car communication interface 102 , a first communication module 103 , a second communication module 104 , a processor 105 and a memory 106 .
  • the housing 101 is provided with a cavity 1011 and an installation port 1012 communicating with the cavity 1011 .
  • the vehicle communication interface 102 is installed in the installation port 1012 , and the vehicle communication interface 102 is used to communicate with the vehicle 400 to be matched.
  • Both the first communication module 103 and the second communication module 104 are installed in the cavity 1011 , wherein the first communication module 103 is used to communicate with the cloud server 300 , and the second communication module 104 includes a low frequency A communication unit 1041, the low-frequency communication unit 1041 is used for communicating with the car key 200 to be matched with the car key 200.
  • the processor 105 is communicatively connected to the vehicle communication interface 102 , the first communication module 103 and the second communication module 104 respectively.
  • memory 106 in communication with the processor 105, the memory 106 storing instructions executable by the processor 105, the instructions being executed by the processor 105 to cause the processor 105 can perform the method of car key 200 matching.
  • Car communication interface device 100 car key 200 to be matched to car 400 car key 200 to be matched to car key 200
  • the car communication interface 102 is an OBD communication interface.
  • the first communication module 103 is a wireless communication module, such as short-wave communication, microwave communication, satellite communication, etc., through which the wireless communication module can communicate with the cloud server 300 connect.
  • the first communication module 103 is a Bluetooth device, which is connected to an external terminal through the Bluetooth device, and then communicated and connected to the cloud server 300 through the external terminal.
  • the second communication module 104 includes a low frequency communication unit 1041 and a high frequency communication unit 1042 .
  • the low-frequency communication unit 1041 is used to write a key program and the like into the car key 200 to be matched with the car key 200 .
  • the high-frequency communication unit 1042 is configured to receive data fed back by the car key 200 to be matched with the car key 200 .
  • the low frequency communication unit 1041 includes a signal processor 1041a, a low frequency modulator 1041b, a low frequency transmitter 1041c and a low frequency antenna 1041d, the signal processor 041a, the low frequency modulator 1041b, the low frequency The transmitter 1041c and the low frequency antenna 1041d are connected in sequence.
  • the processor 105 includes a first processing unit 1051 , a second processing unit 1052 , a third processing unit 1053 and an encoding/decoding unit 1054 .
  • the first processing unit 1051, the second processing unit 1052, the third processing unit 1053 and the codec unit 1054 are connected through a bus.
  • the first processing unit 1051 is used to process the information that the car communication interface device 100 interacts with the car 400 to be matched
  • the second processing unit 1052 is used to process the information that the car communication interface device 100 interacts with the cloud server 300 .
  • the third processing unit 1053 is used for processing the interaction information between the car communication interface device 100 and the car key 200 to be matched with the car key 200 .
  • the exchanged information processed by the first processing unit 1051 , the second processing unit 1052 and the third processing unit 1053 is adapted to the protocol format by the encoding and decoding unit 1054 .
  • the memory 106 includes a first storage unit 1061 , a second storage unit 1062 and a third storage unit 1063 .
  • the first storage unit 1061, the second storage unit 1062 and the third storage unit 1063 are connected through a bus.
  • the first storage unit 1061 is used to store the car key 200 program written in the car key 200 to be matched and the data of the car key 200
  • the second storage unit 1062 is used to store the information fed back by the car 400 to be matched
  • the third storage unit 1063 is used to store the information fed back by the cloud server 300 .
  • the memory 106 can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the method for matching a car key in an embodiment of the present invention Corresponding program instructions/modules (eg, the respective modules shown in FIG. 8 ).
  • the processor 105 executes various functional applications and data processing of the device for car key matching by running the non-volatile software programs, instructions and modules stored in the memory 106, that is, the method for realizing the car key matching of the above method embodiments .
  • the memory 106 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the device matching the car key Wait. Additionally, memory 106 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 106 may optionally include memory located remotely from the processor 105 that may be connected to the vehicle key matching device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the one or more modules are stored in the memory 106, and when executed by the one or more processors 105, perform the method for car key matching in any of the above method embodiments.
  • the above product can execute the method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
  • the method provided by the embodiment of the present invention can execute the method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
  • An embodiment of the present invention provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used by a vehicle communication interface device to execute any of the above methods The method of car key matching in the embodiment.
  • An embodiment of the present invention provides a computer program product, including a computer program stored on a non-volatile computer-readable storage medium, where the computer program includes program instructions that, when executed by a computer, make the program instructions
  • the computer executes the method for car key matching in any of the above method embodiments.
  • the device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each embodiment can be implemented by means of software plus a general hardware platform, and certainly can also be implemented by hardware.
  • Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program is During execution, it may include the processes of the embodiments of the above-mentioned methods.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mechanical Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The embodiments of the present invention relate to the technical field of automobiles, and in particular, to an automobile key matching method and apparatus, and an automobile communication interface device. Said method is applied to an automobile communication interface device. Said method comprises: acquiring, from an automobile to be matched, vehicle information of said automobile; sending the vehicle information to a cloud server, so that the cloud server queries an automobile key program and automobile key data which are related to the vehicle information; writing, by means of a low-frequency communication unit, the automobile key program and the automobile key data into an automobile key to be matched; acquiring anti-theft application data from said automobile; sending the anti-theft application data to the cloud server, so that the cloud server parses an anti-theft password according to the anti-theft application data; and receiving the anti-theft password sent by the cloud server, and sending a trigger request carrying the anti-theft password to said automobile, so as to trigger said automobile to start a matching mode. The present invention can achieve matching between the automobile to be matched and the automobile key to be matched by means of the vehicle communication interface device.

Description

一种汽车钥匙匹配的方法、装置以及汽车通信接口设备Method and device for car key matching, and car communication interface device
本申请要求于2020年11月5日提交中国专利局、申请号为202011224286.3、申请名称为“一种汽车钥匙匹配的方法、装置以及汽车通信接口设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on November 5, 2020 with the application number of 202011224286.3 and the application title of "a method and device for matching a car key, and a car communication interface device", the entire contents of which are Incorporated herein by reference.
技术领域technical field
本申请涉及汽车技术领域,特别是涉及一种汽车钥匙匹配的方法、装置以及汽车通信接口设备。The present application relates to the technical field of automobiles, and in particular, to a method and device for car key matching, and a car communication interface device.
背景技术Background technique
汽车钥匙是汽车防盗系统的重要一环。随着汽车技术的进步,现在的汽车钥匙为智能型的钥匙,这种智能型的汽车钥匙需要与汽车进行匹配才能解锁或者锁止汽车。汽车钥匙丢失或损坏后,车主会通过传统维修店或专业锁匠去匹配钥匙。传统维修店对汽车钥匙的流程包括:向厂家定购汽车钥匙,待汽车钥匙回到4S店后再利用原厂的匹配仪将汽车钥匙匹配到汽车上,完成匹配操作。The car key is an important part of the car anti-theft system. With the advancement of automobile technology, the current car key is a smart key, and the smart car key needs to be matched with the car to unlock or lock the car. When a car key is lost or damaged, the owner will go through a traditional repair shop or a professional locksmith to match the key. The process of car keys in traditional repair shops includes: ordering car keys from the manufacturer, and after the car keys are returned to the 4S shop, the original matching instrument is used to match the car keys to the car to complete the matching operation.
但是,在实现本发明实施例的过程中,发明人发现:目前,传统的汽车通信接口设备是用于汽车与外部设备,如汽车诊断设备、移动终端或者云服务器等进行通信连接的设备,不具备对汽车钥匙进行编辑以使汽车钥匙与汽车相匹配的功能。However, in the process of implementing the embodiments of the present invention, the inventor found that: at present, the traditional car communication interface device is a device used for communication between cars and external devices, such as car diagnostic devices, mobile terminals, or cloud servers, etc. With the ability to edit the car key to match the car key with the car.
发明内容SUMMARY OF THE INVENTION
鉴于上述问题,本发明实施例提供了一种汽车钥匙匹配的方法、装置以及汽车通信接口设备,克服了上述问题或者至少部分地解决了上述问题。In view of the above problems, the embodiments of the present invention provide a method and device for car key matching, and a car communication interface device, which overcome the above problems or at least partially solve the above problems.
根据本发明实施例的一个方面,提供了一种汽车钥匙匹配的方法,应用于汽车通信接口设备,所述汽车通信接口设备包括低频通信单元,所述低频通信单元用于与待匹配汽车钥匙实现低频通信,所述汽车通信接口设备分别与待匹配汽车和云服务器通信连接,所述方法包括:从所述待匹配汽车获取所述待匹配汽车的车辆信息;发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。According to an aspect of the embodiments of the present invention, a method for matching a car key is provided, which is applied to a car communication interface device, where the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to realize the matching with the car key to be matched. low-frequency communication, the car communication interface device is respectively connected to the car to be matched and the cloud server, the method includes: acquiring vehicle information of the car to be matched from the car to be matched; sending the vehicle information to the cloud server, so that the cloud server can query the car key program and car key data related to the vehicle information according to the vehicle information; write the car key program and the car key data into all the data through the low-frequency communication unit the car key to be matched; obtain the anti-theft application data of the car to be matched from the car to be matched; send the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft application data according to the anti-theft application data anti-theft password; receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, the car to be matched In the matching mode, it can be paired with the key to be matched.
在一种可选的方式中,所述方法还包括:向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所 述待匹配钥匙配对;若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入所述从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤。In an optional manner, the method further includes: sending a matching request to the car to be matched to trigger the car to be matched to start a matching mode, and the car to be matched can be matched with the car in the matching mode The key to be matched is paired; if the car key to be matched does not match the car to be matched, enter the step of obtaining the anti-theft application data of the car to be matched from the car to be matched.
在一种可选的方式中,所述方法还包括:接收所述待匹配汽车钥匙返回的写入应答信息;判断所述写入应答信息是写入成功信息还是写入失败信息;若为所述写入成功信息,则进入所述向所述待匹配汽车发送匹配请求的步骤;若为所述写入失败信息,则输出写入失败提示。In an optional manner, the method further includes: receiving the write response information returned by the car key to be matched; judging whether the write response information is writing success information or writing failure information; If the writing success information is received, enter the step of sending a matching request to the car to be matched; if the writing failure information is the writing failure information, output a writing failure prompt.
在一种可选的方式中,所述方法还包括:接收所述待匹配汽车返回的匹配应答信息;判断所述匹配应答信息是匹配成功信息还是匹配失败信息;若是所述匹配成功信息,则输出匹配成功提示;若是所述匹配失败信息,则输出匹配失败提示。In an optional manner, the method further includes: receiving matching response information returned by the car to be matched; judging whether the matching response information is matching successful information or matching failure information; if the matching successful information, then A matching success prompt is output; if the matching failure information is described, a matching failure prompt is output.
在一种可选的方式中,所述从所述待匹配汽车获取所述待匹配汽车的车辆信息的步骤,进一步包括:向所述待匹配汽车发送监测请求;获取所述待匹配汽车根据所述监测请求返回的所述车辆信息。In an optional manner, the step of obtaining the vehicle information of the car to be matched from the car to be matched further includes: sending a monitoring request to the car to be matched; the vehicle information returned by the monitoring request.
根据本发明实施例的一个方面,提供了一种汽车钥匙匹配的装置,应用于汽车通信接口设备,所述汽车通信接口设备包括低频通信单元,所述低频通信单元用于与待匹配汽车钥匙实现低频通信,所述汽车通信接口设备分别与待匹配汽车和云服务器通信连接,所述装置包括:第一获取模块,用于从所述待匹配汽车获取所述待匹配汽车的车辆信息;第一发送模块,用于发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;写入模块,用于将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;第二获取模块,用于从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;第二发送模块,用于将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;第一接收模块,用于接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。According to an aspect of the embodiments of the present invention, an apparatus for matching a car key is provided, which is applied to a car communication interface device, where the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to realize the matching with the car key to be matched. For low-frequency communication, the vehicle communication interface device is respectively connected to the vehicle to be matched and the cloud server, and the device includes: a first acquisition module for acquiring vehicle information of the vehicle to be matched from the vehicle to be matched; a first A sending module is used to send the vehicle information to the cloud server, so that the cloud server can query the car key program and car key data related to the vehicle information according to the vehicle information; the writing module is used to write The car key program and the car key data are written into the to-be-matched car key through the low-frequency communication unit; a second acquisition module is used to obtain the anti-theft application data of the to-be-matched car from the to-be-matched car; The second sending module is used to send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; the first receiving module is used to receive the data sent by the cloud server. the anti-theft password, and send a trigger request carrying the anti-theft password to the car to be matched to trigger the car to be matched to start the matching mode, and the car to be matched can be matched with the car in the matching mode. The key to be matched is paired.
在一种可选的方式中,所述装置还包括:第三发送模块,用于向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对;若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入所述第二获取模块。In an optional manner, the device further includes: a third sending module, configured to send a matching request to the car to be matched, so as to trigger the car to be matched to start a matching mode, where the car to be matched is in The matching mode can be paired with the key to be matched; if the car key to be matched does not match the car to be matched, enter the second acquisition module.
在一种可选的方式中,所述装置还包括:第二接收模块,用于接收所述待匹配汽车钥匙返回的写入应答信息;第一判断模块,用于判断所述写入应答信息是写入成功信息还是写入失败信息;若为所述写入成功信息,则进入所述第三发送模块;第一输出模块,用于若所述写入应答信息为所述写入失败信息,则输出写入失败提示。In an optional manner, the device further includes: a second receiving module for receiving the written response information returned by the car key to be matched; a first judging module for judging the written response information Whether to write success information or write failure information; if it is the write success information, enter the third sending module; the first output module is used if the write response information is the write failure information , the output writing failure prompt.
在一种可选的方式中,所述装置还包括:第三接收模块,用于接收所述待匹配汽车返回的匹配应答信息;第二判断模块,用于判断所述匹配应答信息是 匹配成功信息还是匹配失败信息;第二输出模块,用于若所述匹配应答信息是所述匹配成功信息,则输出匹配成功提示;第三输出模块,用于若所述匹配应答信息是所述匹配失败信息,则输出匹配失败提示。In an optional manner, the device further includes: a third receiving module for receiving matching response information returned by the car to be matched; a second judging module for judging whether the matching response information is a successful match information is still matching failure information; the second output module is used for outputting a matching success prompt if the matching response information is the matching successful information; the third output module is used for if the matching response information is the matching failure information, a matching failure prompt is output.
在一种可选的方式中,所述第一获取模块包括:发送单元,用于向所述待匹配汽车发送监测请求;获取单元,用于获取所述待匹配汽车根据所述监测请求返回的所述车辆信息。In an optional manner, the first obtaining module includes: a sending unit, configured to send a monitoring request to the car to be matched; an obtaining unit, configured to obtain the data returned by the car to be matched according to the monitoring request the vehicle information.
根据本发明实施例的一个方面,提供了一种汽车通信接口设备,包括:汽车通信接口,用于与待匹配汽车通信连接;第一通信模块,用于与云服务器通信连接;第二通信模块,用于与待匹配汽车钥匙通信连接,其中,所述第二通信模块包括低频通信单元;处理器,所述处理器分别与所述汽车通信接口、第一通信模块和第二通信模块通信连接;以及存储器,所述存储器与所述处理器通信连接,所述存储器存储有可被所述处理器执行的指令,所述指令被所述处理器执行,以使所述处理器能够执行上述的汽车钥匙匹配的方法。According to an aspect of the embodiments of the present invention, an automobile communication interface device is provided, including: an automobile communication interface for communicating with the car to be matched; a first communication module for communicating with a cloud server; a second communication module , used to communicate and connect with the car key to be matched, wherein the second communication module includes a low-frequency communication unit; a processor, which is respectively connected to the car communication interface, the first communication module and the second communication module. and a memory communicatively coupled to the processor, the memory storing instructions executable by the processor, the instructions being executed by the processor to enable the processor to perform the above-described How to match car keys.
在一种可选的方式中,所述汽车通信接口为OBD通信接口。In an optional manner, the vehicle communication interface is an OBD communication interface.
在一种可选的方式中,所述第一通信模块为无线通信模块。In an optional manner, the first communication module is a wireless communication module.
在一种可选的方式中,所述低频通信单元包括信号处理模块、低频调制模块、低频发射模块和低频天线,所述信号处理模块、低频调制模块、低频发射模块和低频天线依次连接。In an optional manner, the low-frequency communication unit includes a signal processing module, a low-frequency modulation module, a low-frequency transmitting module, and a low-frequency antenna, and the signal processing module, the low-frequency modulation module, the low-frequency transmitting module, and the low-frequency antenna are connected in sequence.
在一种可选的方式中,所述第二通信模块还包括高频通信单元,所述高频通信单元用于接收所述待匹配汽车钥匙反馈的数据。In an optional manner, the second communication module further includes a high-frequency communication unit, and the high-frequency communication unit is configured to receive data fed back by the car key to be matched.
在一种可选的方式中,所述处理器包括第一处理单元、第二处理单元和第三处理单元;所述第一处理单元、第二处理单元和第三处理单元均通过总线电连接,所述第一处理单元用于处理汽车通信接口设备与所述待匹配汽车交互的信息,所述第二处理单元用于处理所述汽车通信接口设备与所述云服务器交互的信息,所述第三处理单元用于处理汽车通信接口设备与所述待匹配汽车钥匙交互的信息。In an optional manner, the processor includes a first processing unit, a second processing unit and a third processing unit; the first processing unit, the second processing unit and the third processing unit are all electrically connected through a bus , the first processing unit is used to process the information that the car communication interface device interacts with the car to be matched, the second processing unit is used to process the information that the car communication interface device interacts with the cloud server, the The third processing unit is used for processing the information that the vehicle communication interface device interacts with the vehicle key to be matched.
在一种可选的方式中,所述处理器还包括编解码单元,所述编解码单元与所述总线连接,所述第一处理单元、第二处理单元和第三处理单元处理的交互的信息通过所述编解码单元进行协议格式配适。In an optional manner, the processor further includes an encoding/decoding unit, the encoding/decoding unit is connected to the bus, and the first processing unit, the second processing unit and the third processing unit process the interactive The information is adapted to the protocol format through the codec unit.
在一种可选的方式中,所述存储器包括第一存储单元、第二存储单元和第三存储单元;所述第一存储单元、第二存储单元和第三存储单元均与所述总线连接,所述第一存储单元用于存储写入待匹配汽车钥匙的汽车钥匙程序以及汽车钥匙数据,所述第二存储单元用于存储待匹配汽车反馈的信息,所述第三存储单元用于存储云服务器反馈的信息。In an optional manner, the memory includes a first storage unit, a second storage unit and a third storage unit; the first storage unit, the second storage unit and the third storage unit are all connected to the bus , the first storage unit is used to store the car key program and car key data written into the car key to be matched, the second storage unit is used to store the information fed back by the car to be matched, and the third storage unit is used to store Information returned by the cloud server.
本发明实施例的有益效果是:区别于现有的汽车钥匙匹配代理的实现方法,本实施例的通信接口设备从云服务器获取与所述待匹配汽车的车辆信息对应的汽车钥匙程序以及汽车钥匙数据,然后将汽车钥匙程序以及汽车钥匙数据写入待匹配汽车钥匙,接着从待匹配汽车获取防盗应用数据,以及根据防盗应 用数据获得防盗密码,以及根据防盗密码对所述待匹配汽车钥匙与待匹配汽车进行配对,可实现通过汽车通信接口设备对汽车钥匙匹配,用户体验良好。另外,由于所述汽车钥匙程序以及汽车钥匙数据是从根据所述汽车的车辆信息从云服务器获得的,即车辆信息不同,则汽车钥匙程序以及汽车钥匙数据不同,则所述方法适用于不同的汽车。The beneficial effect of the embodiment of the present invention is: different from the existing method for realizing the car key matching agent, the communication interface device of the present embodiment obtains the car key program and the car key corresponding to the vehicle information of the car to be matched from the cloud server data, then write the car key program and the car key data into the car key to be matched, then obtain the anti-theft application data from the car to be matched, and obtain the anti-theft password according to the anti-theft application data, and according to the anti-theft password, compare the car key to be matched with the car key to be matched. Matching the car for pairing can realize the matching of the car key through the car communication interface device, and the user experience is good. In addition, since the car key program and car key data are obtained from the cloud server according to the vehicle information of the car, that is, if the vehicle information is different, the car key program and car key data are different, and the method is applicable to different car.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.
图1是本发明实施例提供的汽车钥匙匹配的方法的一种实施环境的结构示意图;1 is a schematic structural diagram of an implementation environment of a method for car key matching provided by an embodiment of the present invention;
图2是本发明实施例提供的汽车钥匙匹配的方法的另一种实施环境的结构示意图;2 is a schematic structural diagram of another implementation environment of a method for matching a car key provided by an embodiment of the present invention;
图3是本发明实施例提供的一种汽车钥匙匹配的方法的流程示意图;3 is a schematic flowchart of a method for matching a car key provided by an embodiment of the present invention;
图4是本发明实施例提供的获取车辆信息的方法的流程示意图;4 is a schematic flowchart of a method for acquiring vehicle information provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种汽车钥匙匹配的方法的流程示意图;5 is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention;
图6是本发明实施例提供的又一种汽车钥匙匹配的方法的流程示意图;6 is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention;
图7是本发明实施例提供的判断汽车钥匙匹配是否成功的方法的流程示意图;7 is a schematic flowchart of a method for judging whether a car key matching is successful provided by an embodiment of the present invention;
图8是本发明实施例提供的一种汽车钥匙匹配的装置的示意图;8 is a schematic diagram of a device for matching a car key provided by an embodiment of the present invention;
图9是本发明实施例提供的汽车通信接口设备的示意图;9 is a schematic diagram of a vehicle communication interface device provided by an embodiment of the present invention;
图10是本发明实施例提供的汽车通信接口设备的各部件的连接关系图;10 is a connection relationship diagram of each component of an automotive communication interface device provided by an embodiment of the present invention;
图11是本发明实施例提供的汽车通信接口设备的各部件的示意图。FIG. 11 is a schematic diagram of each component of a vehicle communication interface device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
需要说明的是,当元件被表述“固定于”另一个元件,它可以直接在另一个元件上、或者其间可以存在一个或多个居中的元件。当一个元件被表述“连接”另一个元件,它可以是直接连接到另一个元件、或者其间可以存在一个或多个居中的元件。本说明书所使用的术语“垂直的”、“水平的”、“左”、“右”以及类似的表述只是为了说明的目的。It should be noted that when an element is referred to as being "fixed to" another element, it can be directly on the other element, or one or more intervening elements may be present therebetween. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or one or more intervening elements may be present therebetween. The terms "vertical", "horizontal", "left", "right" and similar expressions used in this specification are for illustrative purposes only.
此外,下面所描述的本发明各个实施例中所涉及到的技术特征只要彼此之间未构成冲突就可以相互组合。In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
请参阅图1,图1是本发明实施例提供的汽车钥匙200匹配的方法的一种实施环境的结构示意图,该实施环境包括汽车通信接口设备100、待匹配汽车钥匙200、云服务器300和待匹配汽车400。Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an implementation environment of a method for matching a car key 200 provided by an embodiment of the present invention. The implementation environment includes a car communication interface device 100, a car key to be matched 200, a cloud server 300 and a car key to be matched. Match car 400.
所述汽车通信接口设备100分别与所述待匹配汽车钥匙200、云服务器300和待匹配汽车400通信连接以进行数据交互。The vehicle communication interface device 100 is respectively connected to the vehicle key to be matched 200 , the cloud server 300 and the vehicle to be matched 400 for data exchange.
在一些实施例中,请参阅图2,所述实施环境还包括移动终端500,所述汽车通信接口设备100通过所述移动终端500与所述云服务器300通信连接以进行数据交互。In some embodiments, referring to FIG. 2 , the implementation environment further includes a mobile terminal 500 , and the vehicle communication interface device 100 is communicatively connected to the cloud server 300 through the mobile terminal 500 for data interaction.
需要说明的是,在一些实施例中,所述汽车通信接口设备100通过蓝牙设别与所述移动终端500通信连接。It should be noted that, in some embodiments, the vehicle communication interface device 100 is communicatively connected to the mobile terminal 500 through a Bluetooth device.
实施例一Example 1
请参阅图3,图3是本发明实施例提供的一种汽车钥匙匹配的方法的流程示意图。所述方法包括以下步骤:Please refer to FIG. 3 , which is a schematic flowchart of a method for matching a car key provided by an embodiment of the present invention. The method includes the following steps:
步骤S101,从所述待匹配汽车获取所述待匹配汽车的车辆信息。Step S101, acquiring vehicle information of the car to be matched from the car to be matched.
所述车辆信息包括车型、车款、年限中的至少一种。所述车辆信息还包括用于表示所述待匹配汽车的信息,例如VIN码,即所述VIN码用于识别当前待匹配汽车,所述VIN码是与所述待匹配汽车唯一对应的信息。The vehicle information includes at least one of vehicle model, vehicle model, and age. The vehicle information also includes information used to represent the car to be matched, such as a VIN code, that is, the VIN code is used to identify the car to be matched currently, and the VIN code is information uniquely corresponding to the car to be matched.
所述汽车通信接口设备与所述待匹配汽车通信连接时,从所述待匹配汽车获取所述待匹配汽车的车辆信息。在一些实施例中,所述汽车通信接口设备设置OBD接口,将所述汽车通信接口设备通过所述OBD接口与汽车的ECU连接时,即可获取到所述车辆信息。When the car communication interface device is in communication connection with the car to be matched, vehicle information of the car to be matched is acquired from the car to be matched. In some embodiments, the vehicle communication interface device is provided with an OBD interface, and the vehicle information can be acquired when the vehicle communication interface device is connected to the ECU of the vehicle through the OBD interface.
在一些实施例中,所述汽车通信接口设备获取到的所述待匹配汽车的车辆信息是其首先向所述待匹配汽车发送检测请求之后,所述待匹配汽车返回的,具体的,请参阅图4,步骤S101包括:In some embodiments, the vehicle information of the car to be matched acquired by the vehicle communication interface device is returned by the car to be matched after it first sends a detection request to the car to be matched. For details, please refer to Figure 4, step S101 includes:
步骤S1011,向所述待匹配汽车发送监测请求。Step S1011, sending a monitoring request to the vehicle to be matched.
步骤S1012,获取所述待匹配汽车根据所述监测请求返回的所述车辆信息。Step S1012, acquiring the vehicle information returned by the vehicle to be matched according to the monitoring request.
步骤S102,发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据。Step S102, sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
其中,所述云服务器中存储有汽车钥匙程序以及汽车钥匙数据,所述汽车钥匙程序以及汽车钥匙数据是与所述车辆信息相匹配的,例如是和所述车型匹配,即不同的车型的汽车对应不同的汽车钥匙程序以及汽车钥匙数据。Wherein, the cloud server stores a car key program and car key data, and the car key program and car key data are matched with the vehicle information, such as matching with the model, that is, a car of a different model Corresponding to different car key programs and car key data.
其中,所述汽车钥匙数据是用于所述汽车钥匙开启所述汽车的内存数据。Wherein, the car key data is memory data used by the car key to open the car.
其中,所述汽车钥匙程序用于根据汽车钥匙数据将待匹配汽车与待匹配汽车钥匙进行配对。The car key program is used to pair the car to be matched with the car key to be matched according to the car key data.
在一些实施例中,所述待匹配钥匙与所述待匹配汽车进行配对的一种方法包括:In some embodiments, a method for pairing the key to be matched with the car to be matched includes:
步骤a,所述待匹配汽车通过所述汽车通信接口设备的OBD接口发送一输入码至所述汽车通信接口设备。Step a, the car to be matched sends an input code to the car communication interface device through the OBD interface of the car communication interface device.
步骤b,所述汽车通信接口设备通过所述低频通信单元将所述输入码转发至所述待匹配汽车钥匙。Step b, the vehicle communication interface device forwards the input code to the to-be-matched vehicle key through the low-frequency communication unit.
步骤c,所述待匹配汽车钥匙中的所述汽车钥匙程序根据所述汽车钥匙数据对所述输入码进行算法转换为匹配码。In step c, the car key program in the car key to be matched performs an algorithm to convert the input code into a matching code according to the car key data.
步骤d,所述待匹配汽车钥匙通过所述低频通信单元将所述匹配码发送至所述汽车通信接口设备。Step d, the car key to be matched sends the matching code to the car communication interface device through the low-frequency communication unit.
步骤e,所述汽车通信接口设备通过所述OBD接口将所述匹配码发送至所述待匹配汽车。Step e, the vehicle communication interface device sends the matching code to the vehicle to be matched through the OBD interface.
步骤f,所述待匹配汽车识别所述匹配码,完成配对。In step f, the vehicle to be matched identifies the matching code and completes the pairing.
值得说明的是,在一些实施例中,所述汽车通信接口设备包括VCI设备和移动终端,则所述VCI设备通过OBD接口从所述待匹配汽车获取所述车辆信息,然后所述VCI设备通过蓝牙将所述车辆信息发送所述移动终端,再接着所述移动终端通过无线通信的方式发送所述车辆信息至所述云服务器。It is worth noting that, in some embodiments, the vehicle communication interface device includes a VCI device and a mobile terminal, then the VCI device obtains the vehicle information from the to-be-matched car through an OBD interface, and then the VCI device obtains the vehicle information through the OBD interface. Bluetooth sends the vehicle information to the mobile terminal, and then the mobile terminal sends the vehicle information to the cloud server through wireless communication.
步骤S103,将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙。Step S103, writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
所述汽车通信接口设备设置低频通信单元,则所述将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙是通过所述低频通信单元实现的。If the vehicle communication interface device is provided with a low frequency communication unit, the low frequency communication unit is used to write the car key program and the car key data into the to-be-matched car key through the low frequency communication unit.
步骤S104,从所述待匹配汽车获取所述待匹配汽车的防盗应用数据。Step S104, obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
在对一些防盗系统的防盗级别比较低的汽车进行汽车钥匙匹配时,在将所述汽车钥匙程序以及汽车钥匙数据写入所述待匹配汽车钥匙之后,可直接从所述汽车获取上述输入码,然后通过上述步骤a、步骤b、步骤c、步骤d、步骤e和步骤f进行汽车钥匙匹配。在对一些放大O系统的防盗级别比较高的汽车进行汽车钥匙匹配时,首先要对其防盗系统进行破解。即对所述防盗应用数据进行破解。When car keys are matched for some cars with low anti-theft systems, after the car key program and car key data are written into the car key to be matched, the above input code can be directly obtained from the car, Then, the car key matching is performed through the above steps a, b, c, d, e and f. When the car keys are matched for some cars with high anti-theft levels of the amplified O system, the anti-theft system must be cracked first. That is, the anti-theft application data is cracked.
步骤S105,将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码。Step S105, sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
所述防盗密码即相当于上述步骤a中的输入码。The anti-theft password is equivalent to the input code in the above step a.
步骤S106,接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。Step S106: Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
所述待匹配汽车在所述匹配模式与所述待匹配钥匙配对的一种实现方式包括:An implementation manner of pairing the car to be matched with the key to be matched in the matching mode includes:
步骤a’,所述汽车通信接口设备通过OBD接口发送所述防盗密码至所述 待匹配汽车钥匙。Step a', the car communication interface device sends the anti-theft password to the car key to be matched through the OBD interface.
步骤b’,所述待匹配汽车钥匙中的所述汽车钥匙程序根据所述汽车钥匙数据对所述防盗密码进行算法转换为匹配密码。Step b', the car key program in the car key to be matched performs an algorithmic conversion of the anti-theft password into a matching password according to the car key data.
步骤c’,所述待匹配汽车钥匙通过所述低频通信单元将所述匹配密码发送至所述汽车通信接口设备。Step c', the car key to be matched sends the matching password to the car communication interface device through the low-frequency communication unit.
步骤d’,所述汽车通信接口设备通过所述OBD接口将所述匹配密码发送至所述待匹配汽车。Step d', the vehicle communication interface device sends the matching password to the vehicle to be matched through the OBD interface.
步骤e’,所述待匹配汽车识别所述匹配密码,完成配对。Step e', the vehicle to be matched identifies the matching password and completes the pairing.
在本发明实施例中,汽车通信接口设备通过从所述待匹配汽车获取所述待匹配汽车的车辆信息;发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对,即汽车通信接口设备获取与所述待匹配汽车匹配的汽车钥匙程序以及汽车钥匙数据,然后通过低频通信单元将其写入所述待匹配钥匙,则可接着将待匹配汽车与待匹配汽车钥匙进行配对实现汽车钥匙匹配,用户体验良好。In the embodiment of the present invention, the vehicle communication interface device obtains the vehicle information of the to-be-matched car from the to-be-matched car; sends the vehicle information to the cloud server, so that the cloud server can make the vehicle information based on the vehicle information Query the car key program and car key data related to the vehicle information; write the car key program and the car key data into the car key to be matched through the low-frequency communication unit; obtain from the car to be matched the anti-theft application data of the car to be matched; send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; receive the anti-theft application data sent by the cloud server password, and send a trigger request carrying the anti-theft password to the car to be matched to trigger the car to be matched to start the matching mode, where the car to be matched can be paired with the key to be matched in the matching mode , that is, the car communication interface device obtains the car key program and car key data matching the car to be matched, and then writes it into the key to be matched through the low-frequency communication unit, then the car to be matched and the car key to be matched can then be matched. Pairing is performed to achieve car key matching, and the user experience is good.
实施例二Embodiment 2
请参阅图5,图5是本发明实施例提供的另一种汽车钥匙匹配的方法的流程示意图。所述方法包括以下步骤:Please refer to FIG. 5 , which is a schematic flowchart of another method for matching a car key provided by an embodiment of the present invention. The method includes the following steps:
步骤S101,从所述待匹配汽车获取所述待匹配汽车的车辆信息。Step S101, acquiring vehicle information of the car to be matched from the car to be matched.
步骤S102,发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据。Step S102, sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
步骤S103,将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙。Step S103, writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
步骤S104a,向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对,若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入步骤S104。。Step S104a, sending a matching request to the car to be matched to trigger the car to be matched to start the matching mode, the car to be matched can be paired with the key to be matched in the matching mode, if the car key to be matched is paired with the key to be matched If it does not match the car to be matched, go to step S104. .
其中,所述匹配请求用于触发所述匹配模式,以将所述待匹配汽车与所述待匹配汽车钥匙进行配对。Wherein, the matching request is used to trigger the matching mode, so as to pair the car to be matched with the car key to be matched.
在一些实施例中,所述待匹配汽车的防盗系统的防盗级比较高,则所述匹配请求触发所述匹配模式时,并不能成功,此时需要执行后续步骤S104以破解所述防盗系统。In some embodiments, if the anti-theft system of the car to be matched has a relatively high anti-theft level, when the matching request triggers the matching mode, the matching mode is unsuccessful. In this case, the subsequent step S104 needs to be performed to crack the anti-theft system.
所述匹配请求触发所述匹配模式执行时,则可直接将所述待匹配汽车与所 述待匹配汽车钥匙进行配对。When the matching request triggers the execution of the matching mode, the car to be matched can be directly paired with the car key to be matched.
步骤S104,从所述待匹配汽车获取所述待匹配汽车的防盗应用数据。Step S104, obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
步骤S105,将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码。Step S105, sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
步骤S106,接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。Step S106: Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
在本发明实施例中,所述从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤之间,所述汽车通信接口设备首先发送匹配请求至所述待匹配汽车,所述待匹配汽车钥匙与所述待匹配汽车匹配成功,则不需要进一步的获取所述汽车的防盗应用数据,所述待匹配汽车钥匙与所述待匹配汽车不匹配时,才进入所述从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤,则汽车钥匙匹配的效率高。In this embodiment of the present invention, between the steps of acquiring the anti-theft application data of the to-be-matched car from the to-be-matched car, the car communication interface device first sends a matching request to the to-be-matched car, the to-be-matched car If the matching car key is successfully matched with the car to be matched, there is no need to further obtain the anti-theft application data of the car. When the car key to be matched does not match the car to be matched, enter the The step of matching the car to obtain the anti-theft application data of the to-be-matched car has high efficiency of car key matching.
实施例三Embodiment 3
在实际应用中,会出现将所述汽车钥匙程序以及所述汽车钥匙数据写入所述待匹配汽车钥匙时写入失败的情况,若不进行写入成功还是写入失败的判断,则直接进行后续将待匹配汽车钥匙与待匹配汽车进行配对的程序,因为没有写入成功而导致配对失败,无疑会降低配对的效率,因此,在一些实施例中,请参阅图6,所述汽车钥匙匹配的方法包括:In practical applications, the car key program and the car key data may fail to be written into the to-be-matched car key. In the subsequent program of pairing the car key to be matched with the car to be matched, the pairing fails because the writing is not successful, which will undoubtedly reduce the efficiency of pairing. Therefore, in some embodiments, please refer to FIG. 6, the car key matching methods include:
步骤S101,从所述待匹配汽车获取所述待匹配汽车的车辆信息。Step S101, acquiring vehicle information of the car to be matched from the car to be matched.
步骤S102,发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据。Step S102, sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information.
步骤S103,将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙。Step S103, writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit.
步骤S103a,接收所述待匹配汽车钥匙返回的写入应答信息。Step S103a, receiving the written response information returned by the car key to be matched.
其中,所述写入应答信息包括写入成功信息或者写入失败信息。Wherein, the write response information includes write success information or write failure information.
步骤S103b,判断所述写入应答信息是写入成功信息还是写入失败信息,若为所述写入成功信息,则执行步骤S104a,否则输出写入失败提示。In step S103b, it is determined whether the write response information is write success information or write failure information, if it is the write success information, step S104a is executed, otherwise, a write failure prompt is output.
在一些实施例中,所述待匹配汽车钥匙在所述汽车通信接口设备向其写入汽车钥匙程序以及汽车钥匙数据后,会发出写入应答信息。In some embodiments, the to-be-matched car key will send a write response message after the car communication interface device writes the car key program and the car key data to it.
在一些实施例中,所述汽车通信接口设备将
Figure PCTCN2021127117-appb-000001
汽车钥匙程序以及汽车钥匙数据写入所述待匹配汽车钥匙之后的第一预设时间后,向所述待匹配汽车钥匙发送写入检验请求,所述写入检验请求用于检验是否写入成功。所述待匹配汽车钥匙接收根据所述写入检验请求返回所述写入应答信息。
In some embodiments, the automotive communication interface device will
Figure PCTCN2021127117-appb-000001
After the first preset time after the car key program and the car key data are written into the to-be-matched car key, a write-in verification request is sent to the to-be-matched car key, and the write-in verification request is used to verify whether the writing is successful . The to-be-matched car key receives and returns the write-in response information according to the write-in verification request.
在一些实施例中,在第二预设时间内,所述汽车通信接口设备并没有接收到所述写入应答信息,则此时判定写入失败,也可执行步骤S103d,输出写入失败提示。In some embodiments, within the second preset time, the vehicle communication interface device does not receive the write response information, then it is determined that the write fails, and step S103d can also be executed to output a write failure prompt .
步骤S104a,向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对,若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入步骤S104。Step S104a, sending a matching request to the car to be matched to trigger the car to be matched to start the matching mode, the car to be matched can be paired with the key to be matched in the matching mode, if the car key to be matched is paired with the key to be matched If it does not match the car to be matched, go to step S104.
其中,所述匹配请求用于触发所述匹配模式,以将所述待匹配汽车与所述待匹配汽车钥匙进行配对。Wherein, the matching request is used to trigger the matching mode, so as to pair the car to be matched with the car key to be matched.
在一些实施例中,所述待匹配汽车的防盗系统的防盗级比较高,则所述匹配请求触发所述匹配模式时,并不能成功,此时需要执行后续步骤S104以破解所述防盗系统。In some embodiments, if the anti-theft system of the car to be matched has a relatively high anti-theft level, when the matching request triggers the matching mode, the matching mode is unsuccessful. In this case, the subsequent step S104 needs to be performed to crack the anti-theft system.
所述匹配请求触发所述匹配模式执行时,则可直接将所述待匹配汽车与所述待匹配汽车钥匙进行配对。When the matching request triggers the execution of the matching mode, the car to be matched can be directly paired with the car key to be matched.
步骤S104,从所述待匹配汽车获取所述待匹配汽车的防盗应用数据。Step S104, obtaining anti-theft application data of the to-be-matched car from the to-be-matched car.
步骤S105,将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码。Step S105, sending the anti-theft application data to the cloud server, so that the cloud server parses out the anti-theft password according to the anti-theft application data.
步骤S106,接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。Step S106: Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched In the matching mode, it can be paired with the key to be matched.
可以理解的是,当收到所述写入失败提示后,则认为所述待匹配钥匙是不能进行后续与所述待匹配汽车进行配对的,则将不对该待匹配汽车钥匙进行与待匹配汽车的配对。从而可提高后续对所述待匹配汽车钥匙与待匹配汽车进行配对的效率。It can be understood that after receiving the writing failure prompt, it is considered that the key to be matched cannot be paired with the car to be matched subsequently, and the car key to be matched will not be paired with the car to be matched. pairing. Therefore, the efficiency of subsequent pairing of the car key to be matched with the car to be matched can be improved.
在一些实施例中,为了确认是否将所述待匹配汽车与所述待匹配汽车钥匙进行配对成功,请参阅图7,所述汽车钥匙匹配的方法还包括:In some embodiments, in order to confirm whether the pairing of the car to be matched with the car key to be matched is successful, please refer to FIG. 7 , the method for matching the car key further includes:
步骤S107,接收所述待匹配汽车返回的匹配应答信息。Step S107, receiving the matching response information returned by the vehicle to be matched.
其中,所述匹配应答信息包括匹配成功信息或匹配失败信息,所述匹配成功信息用于指示所述待匹配汽车与所述待匹配汽车钥匙配对成功。所述匹配失败信息用于指示所述待匹配汽车与所述待匹配汽车钥匙配对失败。The matching response information includes matching success information or matching failure information, and the matching success information is used to indicate that the car to be matched is successfully paired with the car key to be matched. The matching failure information is used to indicate that the pairing of the to-be-matched car and the to-be-matched car key fails.
步骤S108,判断所述匹配应答信息是匹配成功信息还是匹配失败信息。Step S108, it is determined whether the matching response information is matching success information or matching failure information.
步骤S109,若是所述匹配成功信息,则输出匹配成功提示。Step S109, if the matching information is successful, output a matching success prompt.
步骤S110,若是所述匹配失败信息,则输出匹配失败提示。Step S110, if the matching failure information is mentioned, output a matching failure prompt.
可以理解的是,上述步骤S107、步骤S108、步骤S109和步骤S110同样适用于上述实施例一和实施例二。It can be understood that the above steps S107 , S108 , S109 and S110 are also applicable to the above-mentioned first and second embodiments.
在本发明实施例中,在所述将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙之后,首先进行写入成功还是写入失败的判断,写入成功才进入向所述待匹配汽车发送匹配请求的步骤以及进一步的进入从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤,则可避免没有将汽车钥匙程序以及汽车钥匙数据写入所述待匹配汽车而即执行待匹配汽车与待匹配汽车钥匙的配对的程序,则对所述汽车钥匙进行匹配的效率高。In the embodiment of the present invention, after the car key program and the car key data are written into the to-be-matched car key through the low-frequency communication unit, it is first judged whether the writing is successful or the writing fails, Entering the step of sending a matching request to the car to be matched and further entering the step of obtaining the anti-theft application data of the car to be matched from the car to be matched can be avoided without the car key program and the car key When the data is written into the car to be matched, that is, the pairing program of the car to be matched and the car key to be matched is executed, the efficiency of matching the car key is high.
实施例四Embodiment 4
请参阅图8,图8是本发明实施例提供的一种汽车钥匙匹配的装置的示意图,应用于汽车通信接口设备,所述汽车通信接口设备包括低频通信单元,所述低频通信单元用于与待匹配汽车钥匙实现低频通信,所述汽车通信接口设备分别与待匹配汽车和云服务器通信连接,该装置400包括:第一获取模块401、第一发送模块402、写入模块403、第二获取模块404、第二发送模块405和第一接收模块406。其中,第一获取模块401,用于从所述待匹配汽车获取所述待匹配汽车的车辆信息;第一发送模块402,用于发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;写入模块403,用于将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;第二获取模块404,用于从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;第二发送模块405,用于将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;第一接收模块406,用于接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。Please refer to FIG. 8. FIG. 8 is a schematic diagram of a car key matching device provided by an embodiment of the present invention, which is applied to a car communication interface device. The car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to communicate with The car key to be matched realizes low-frequency communication, and the car communication interface device is respectively connected to the car to be matched and the cloud server for communication. module 404 , a second sending module 405 and a first receiving module 406 . The first obtaining module 401 is used to obtain the vehicle information of the car to be matched from the car to be matched; the first sending module 402 is used to send the vehicle information to the cloud server, so that the cloud The server queries the car key program and car key data related to the vehicle information according to the vehicle information; the writing module 403 is used to write the car key program and the car key data into all the car key programs and the car key data through the low-frequency communication unit. the car key to be matched; the second obtaining module 404 is used to obtain the anti-theft application data of the car to be matched from the car to be matched; the second sending module 405 is used to send the anti-theft application data to the cloud server, so that the cloud server can parse out the anti-theft password according to the anti-theft application data; the first receiving module 406 is configured to receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password It is sent to the car to be matched to trigger the car to be matched to start a matching mode, and the car to be matched can be paired with the key to be matched in the matching mode.
在一些实施例中,所述装置还包括:第三发送模块407。第三发送模块407,用于向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对;若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入所述第二获取模块。In some embodiments, the apparatus further includes: a third sending module 407 . The third sending module 407 is configured to send a matching request to the car to be matched, so as to trigger the car to be matched to start a matching mode, and the car to be matched can be paired with the key to be matched in the matching mode; If the car key to be matched does not match the car to be matched, enter the second acquisition module.
在一些实施例中,所述装置还包括:第二接收模块408、第一判断模块409和第一输出模块410。第二接收模块408,用于接收所述待匹配汽车钥匙返回的写入应答信息;第一判断模块409,用于判断所述写入应答信息是写入成功信息还是写入失败信息;若为所述写入成功信息,则进入所述第三发送模块;第一输出模块410,用于若所述写入应答信息为所述写入失败信息,则输出写入失败提示。In some embodiments, the apparatus further includes: a second receiving module 408 , a first judging module 409 and a first outputting module 410 . The second receiving module 408 is used to receive the write response information returned by the car key to be matched; the first judgment module 409 is used to determine whether the write response information is written success information or write failure information; if it is The writing success information is entered into the third sending module; the first output module 410 is configured to output a writing failure prompt if the writing response information is the writing failure information.
在一些实施例中,所述装置还包括:第三接收模块411、第二判断模块412、第二输出模块413和第三输出模块414。第三接收模块411,用于接收所述待匹配汽车返回的匹配应答信息;第二判断模块412,用于判断所述匹配应答信息是匹配成功信息还是匹配失败信息;第二输出模块413,用于若所述匹配应答信息是所述匹配成功信息,则输出匹配成功提示;第三输出模块414,用于若所述匹配应答信息是所述匹配失败信息,则输出匹配失败提示。In some embodiments, the apparatus further includes: a third receiving module 411 , a second determining module 412 , a second outputting module 413 and a third outputting module 414 . The third receiving module 411 is used to receive the matching response information returned by the car to be matched; the second judging module 412 is used to determine whether the matching response information is matching success information or matching failure information; the second output module 413 is used for If the matching response information is the matching success information, output a matching success prompt; the third output module 414 is configured to output a matching failure prompt if the matching response information is the matching failure information.
在一些实施例中,所述第一获取模块401包括:发送单元4011和获取单元4012。发送单元4011,用于向所述待匹配汽车发送监测请求;获取单元4012,用于获取所述待匹配汽车根据所述监测请求返回的所述车辆信息。In some embodiments, the first obtaining module 401 includes: a sending unit 4011 and an obtaining unit 4012 . The sending unit 4011 is configured to send a monitoring request to the car to be matched; the acquiring unit 4012 is configured to obtain the vehicle information returned by the car to be matched according to the monitoring request.
在本发明实施例中,汽车通信接口设备通过第一获取模块从所述待匹配汽 车获取所述待匹配汽车的车辆信息;通过第一发送模块发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;通过写入模块将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;通过第二获取模块从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;通过第二发送模块将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;通过第一接收模块接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对,即汽车通信接口设备获取与所述待匹配汽车匹配的汽车钥匙程序以及汽车钥匙数据,然后通过低频通信单元将其写入所述待匹配钥匙,则可接着将待匹配汽车与待匹配汽车钥匙进行配对实现汽车钥匙匹配,用户体验良好。In the embodiment of the present invention, the vehicle communication interface device obtains the vehicle information of the to-be-matched car from the to-be-matched car through the first obtaining module; sends the vehicle information to the cloud server through the first sending module, so that the The cloud server inquires about the car key program and car key data related to the vehicle information according to the vehicle information; writes the car key program and the car key data through the low-frequency communication unit through the writing module. the car key to be matched; the anti-theft application data of the car to be matched is obtained from the car to be matched through the second acquisition module; the anti-theft application data is sent to the cloud server through the second sending module, so that the The cloud server parses the anti-theft password according to the anti-theft application data; receives the anti-theft password sent by the cloud server through the first receiving module, and sends a trigger request carrying the anti-theft password to the car to be matched to Trigger the to-be-matched car to start the matching mode, and the to-be-matched car can be paired with the to-be-matched key in the matching mode, that is, the car communication interface device acquires the car key program and car key data matched with the to-be-matched car , and then write it into the key to be matched through the low-frequency communication unit, then the car to be matched can be paired with the car key to be matched to achieve car key matching, and the user experience is good.
实施例五Embodiment 5
请一并参阅图9-11,图9是是本发明实施例提供的汽车通信接口设备的示意图,图10是本发明实施例提供的汽车通信接口设备的各部件的连接关系图,图11是本发明实施例提供的汽车通信接口设备的各部件的示意图。该汽车通信接口设备100包括:壳体101、汽车通信接口102、第一通信模块103、第二通信模块104、处理器105和存储器106。所述壳体101设置有腔体1011和连通所述腔体1011的安装口1012。所述汽车通信接口102安装于所述安装口1012,所述汽车通信接口102用于与待匹配汽车400通信连接。所述第一通信模块103和第二通信模块104均安装于所述腔体1011内,其中,所述第一通信模块103用于与云服务器300通信连接,所述第二通信模块104包括低频通信单元1041,所述低频通信单元1041用于与汽车钥匙200待匹配汽车钥匙200通信连接。所述处理器105分别与所述汽车通信接口102、第一通信模块103和第二通信模块104通信连接。存储器106,所述存储器106与所述处理器105通信连接,所述存储器106存储有可被所述处理器105执行的指令,所述指令被所述处理器105执行,以使所述处理器105能够执行汽车钥匙200匹配的方法。Please refer to FIGS. 9-11 together. FIG. 9 is a schematic diagram of an automobile communication interface device provided by an embodiment of the present invention. FIG. 10 is a connection diagram of each component of the automobile communication interface device provided by an embodiment of the present invention. A schematic diagram of each component of a vehicle communication interface device provided by an embodiment of the present invention. The car communication interface device 100 includes: a casing 101 , a car communication interface 102 , a first communication module 103 , a second communication module 104 , a processor 105 and a memory 106 . The housing 101 is provided with a cavity 1011 and an installation port 1012 communicating with the cavity 1011 . The vehicle communication interface 102 is installed in the installation port 1012 , and the vehicle communication interface 102 is used to communicate with the vehicle 400 to be matched. Both the first communication module 103 and the second communication module 104 are installed in the cavity 1011 , wherein the first communication module 103 is used to communicate with the cloud server 300 , and the second communication module 104 includes a low frequency A communication unit 1041, the low-frequency communication unit 1041 is used for communicating with the car key 200 to be matched with the car key 200. The processor 105 is communicatively connected to the vehicle communication interface 102 , the first communication module 103 and the second communication module 104 respectively. memory 106 in communication with the processor 105, the memory 106 storing instructions executable by the processor 105, the instructions being executed by the processor 105 to cause the processor 105 can perform the method of car key 200 matching.
汽车通信接口设备100汽车钥匙200待匹配汽车400汽车钥匙200待匹配汽车钥匙200对于上述汽车通信接口102,在一些实施例中,所述汽车通信接口102为OBD通信接口。Car communication interface device 100 car key 200 to be matched to car 400 car key 200 to be matched to car key 200 For the above car communication interface 102, in some embodiments, the car communication interface 102 is an OBD communication interface.
对于上述第一通信模块103,在一些实施例中,所述第一通信模块103为无线通信模块,例如,短波通信、微波通信和卫星通信等,通过所述无线通信模块可与云服务器300通信连接。或者,所述第一通信模块103为蓝牙设备,通过蓝牙设备与外部终端连接,然后再通过外部终端与云服务器300通信连接。For the above-mentioned first communication module 103, in some embodiments, the first communication module 103 is a wireless communication module, such as short-wave communication, microwave communication, satellite communication, etc., through which the wireless communication module can communicate with the cloud server 300 connect. Alternatively, the first communication module 103 is a Bluetooth device, which is connected to an external terminal through the Bluetooth device, and then communicated and connected to the cloud server 300 through the external terminal.
对于上述第二通信模块104,第二通信模块104包括低频通信单元1041和高频通信单元1042。所述低频通信单元1041用于将钥匙程序等写入所述汽车钥匙200待匹配汽车钥匙200。所述高频通信单元1042用于接收所述汽车钥匙200待匹配汽车钥匙200反馈的数据。For the second communication module 104 described above, the second communication module 104 includes a low frequency communication unit 1041 and a high frequency communication unit 1042 . The low-frequency communication unit 1041 is used to write a key program and the like into the car key 200 to be matched with the car key 200 . The high-frequency communication unit 1042 is configured to receive data fed back by the car key 200 to be matched with the car key 200 .
在一些实施例中,请参阅图11,所述低频通信单元1041包括信号处理器1041a、低频调制器1041b、低频发射器1041c和低频天线1041d,所述信号处理器041a、低频调制器1041b、低频发射器1041c和低频天线1041d依次连接。In some embodiments, please refer to FIG. 11 , the low frequency communication unit 1041 includes a signal processor 1041a, a low frequency modulator 1041b, a low frequency transmitter 1041c and a low frequency antenna 1041d, the signal processor 041a, the low frequency modulator 1041b, the low frequency The transmitter 1041c and the low frequency antenna 1041d are connected in sequence.
对于上述处理器105,请参阅图11,处理器105包括第一处理单元1051、第二处理单元1052、第三处理单元1053和编解码单元1054。所述第一处理单元1051、第二处理单元1052、第三处理单元1053和编解码单元1054通过总线连接。其中,所述第一处理单元1051用于处理汽车通信接口设备100与待匹配汽车400交互的信息,所述第二处理单元1052用于处理汽车通信接口设备100与云服务器300交互的信息,所述第三处理单元1053用于处理汽车通信接口设备100与汽车钥匙200待匹配汽车钥匙200交互的信息。其中,所述第一处理单元1051、第二处理单元1052和第三处理单元1053处理的交互的信息通过所述编解码单元1054进行协议格式配适。For the above-mentioned processor 105 , please refer to FIG. 11 , the processor 105 includes a first processing unit 1051 , a second processing unit 1052 , a third processing unit 1053 and an encoding/decoding unit 1054 . The first processing unit 1051, the second processing unit 1052, the third processing unit 1053 and the codec unit 1054 are connected through a bus. Wherein, the first processing unit 1051 is used to process the information that the car communication interface device 100 interacts with the car 400 to be matched, and the second processing unit 1052 is used to process the information that the car communication interface device 100 interacts with the cloud server 300 . The third processing unit 1053 is used for processing the interaction information between the car communication interface device 100 and the car key 200 to be matched with the car key 200 . Wherein, the exchanged information processed by the first processing unit 1051 , the second processing unit 1052 and the third processing unit 1053 is adapted to the protocol format by the encoding and decoding unit 1054 .
对于上述存储器106,请参阅图11,存储器106包括第一存储单元1061、第二存储单元1062和第三存储单元1063。所述第一存储单元1061、第二存储单元1062和第三存储单元1063通过总线连接。其中,所述第一存储单元1061用于存储写入待匹配汽车钥匙200的汽车钥匙200程序以及汽车钥匙200数据,所述第二存储单元1062用于存储待匹配汽车400反馈的信息,所述第三存储单元1063用于存储云服务器300反馈的信息。For the memory 106 described above, please refer to FIG. 11 , the memory 106 includes a first storage unit 1061 , a second storage unit 1062 and a third storage unit 1063 . The first storage unit 1061, the second storage unit 1062 and the third storage unit 1063 are connected through a bus. The first storage unit 1061 is used to store the car key 200 program written in the car key 200 to be matched and the data of the car key 200, the second storage unit 1062 is used to store the information fed back by the car 400 to be matched, the The third storage unit 1063 is used to store the information fed back by the cloud server 300 .
所述存储器106作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的汽车钥匙匹配的方法对应的程序指令/模块(例如,附图8所示的各个模块)。处理器105通过运行存储在存储器106中的非易失性软件程序、指令以及模块,从而执行汽车钥匙匹配的装置的各种功能应用以及数据处理,即实现上述方法实施例的汽车钥匙匹配的方法。As a non-volatile computer-readable storage medium, the memory 106 can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as the method for matching a car key in an embodiment of the present invention Corresponding program instructions/modules (eg, the respective modules shown in FIG. 8 ). The processor 105 executes various functional applications and data processing of the device for car key matching by running the non-volatile software programs, instructions and modules stored in the memory 106, that is, the method for realizing the car key matching of the above method embodiments .
所述存储器106可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据汽车钥匙匹配的装置的使用所创建的数据等。此外,存储器106可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器106可选包括相对于处理器105远程设置的存储器,这些远程存储器可以通过网络连接至汽车钥匙匹配装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 106 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the device matching the car key Wait. Additionally, memory 106 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 106 may optionally include memory located remotely from the processor 105 that may be connected to the vehicle key matching device via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
所述一个或者多个模块存储在所述存储器106中,当被所述一个或者多个处理器105执行时,执行上述任意方法实施例中的汽车钥匙匹配的方法。The one or more modules are stored in the memory 106, and when executed by the one or more processors 105, perform the method for car key matching in any of the above method embodiments.
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。The above product can execute the method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. For technical details not described in detail in this embodiment, reference may be made to the method provided by the embodiment of the present invention.
本发明实施例提供了一种非易失性计算机可读存储介质,所述非易失性计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被汽车通信接口设备执行上述任意方法实施例中的汽车钥匙匹配的方法。An embodiment of the present invention provides a non-volatile computer-readable storage medium, where the non-volatile computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used by a vehicle communication interface device to execute any of the above methods The method of car key matching in the embodiment.
本发明实施例提供了一种计算机程序产品,包括存储在非易失性计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时时,使所述计算机执行上述任意方法实施例中的汽车钥匙匹配的方法。An embodiment of the present invention provides a computer program product, including a computer program stored on a non-volatile computer-readable storage medium, where the computer program includes program instructions that, when executed by a computer, make the program instructions The computer executes the method for car key matching in any of the above method embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件来实现。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。From the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and certainly can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program is During execution, it may include the processes of the embodiments of the above-mentioned methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined, The steps may be carried out in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the invention has been The skilled person should understand that it is still possible to modify the technical solutions recorded in the foregoing embodiments, or to perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the implementation of the present invention. scope of technical solutions.

Claims (14)

  1. 一种汽车钥匙匹配的方法,其特征在于,应用于汽车通信接口设备,所述汽车通信接口设备包括低频通信单元,所述低频通信单元用于与待匹配汽车钥匙实现低频通信,所述汽车通信接口设备分别与待匹配汽车和云服务器通信连接,所述方法包括:A method for car key matching, characterized in that it is applied to a car communication interface device, wherein the car communication interface device includes a low-frequency communication unit, and the low-frequency communication unit is used to realize low-frequency communication with a car key to be matched, and the car communication The interface device is communicated and connected with the car to be matched and the cloud server respectively, and the method includes:
    从所述待匹配汽车获取所述待匹配汽车的车辆信息;Obtain vehicle information of the to-be-matched car from the to-be-matched car;
    发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;Sending the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information;
    将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit;
    从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;Obtain anti-theft application data of the to-be-matched car from the to-be-matched car;
    将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;sending the anti-theft application data to the cloud server, so that the cloud server parses the anti-theft password according to the anti-theft application data;
    接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。Receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode, and the car to be matched is in the car to be matched. The matching mode can be paired with the key to be matched.
  2. 根据权利要求1所述的方法,其特征在于,所述从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤之前,所述方法还包括:The method according to claim 1, wherein before the step of acquiring the anti-theft application data of the to-be-matched car from the to-be-matched car, the method further comprises:
    向所述待匹配汽车发送匹配请求,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对;Send a matching request to the to-be-matched car to trigger the to-be-matched car to start a matching mode, where the to-be-matched car can be paired with the to-be-matched key;
    若所述待匹配汽车钥匙与所述待匹配汽车不匹配,则进入所述从所述待匹配汽车获取所述待匹配汽车的防盗应用数据的步骤。If the car key to be matched does not match the car to be matched, enter the step of acquiring the anti-theft application data of the car to be matched from the car to be matched.
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:The method according to claim 2, wherein the method further comprises:
    接收所述待匹配汽车钥匙返回的写入应答信息;receiving the written response information returned by the car key to be matched;
    判断所述写入应答信息是写入成功信息还是写入失败信息;Determine whether the write response information is write success information or write failure information;
    若为所述写入成功信息,则进入所述向所述待匹配汽车发送匹配请求的步骤;If it is the writing success information, enter the step of sending a matching request to the car to be matched;
    若为所述写入失败信息,则输出写入失败提示。If it is the writing failure information, output a writing failure prompt.
  4. 根据权利要求1-3中任意一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    接收所述待匹配汽车返回的匹配应答信息;receiving the matching response information returned by the vehicle to be matched;
    判断所述匹配应答信息是匹配成功信息还是匹配失败信息;Determine whether the matching response information is matching success information or matching failure information;
    若是所述匹配成功信息,则输出匹配成功提示;If the matching information is successful, output a matching success prompt;
    若是所述匹配失败信息,则输出匹配失败提示。If the matching failure information is described, a matching failure prompt is output.
  5. 根据权利要求1-3中任意一项所述的方法,其特征在于,所述从所述待匹配汽车获取所述待匹配汽车的车辆信息的步骤,进一步包括:The method according to any one of claims 1-3, wherein the step of obtaining the vehicle information of the to-be-matched car from the to-be-matched car further comprises:
    向所述待匹配汽车发送监测请求;sending a monitoring request to the car to be matched;
    获取所述待匹配汽车根据所述监测请求返回的所述车辆信息。Acquire the vehicle information returned by the vehicle to be matched according to the monitoring request.
  6. 一种汽车钥匙匹配的装置,其特征在于,应用于汽车通信接口设备,所述汽车通信接口设备包括低频通信单元,所述低频通信单元用于与待匹配汽车钥匙实现低频通信,所述汽车通信接口设备分别与待匹配汽车和云服务器通信连接,所述装置包括:A car key matching device is characterized in that it is applied to a car communication interface device, the car communication interface device includes a low frequency communication unit, and the low frequency communication unit is used to realize low frequency communication with the car key to be matched, and the car communication The interface device is respectively connected with the car to be matched and the cloud server, and the device includes:
    第一获取模块,用于从所述待匹配汽车获取所述待匹配汽车的车辆信息;a first acquisition module, configured to acquire vehicle information of the to-be-matched car from the to-be-matched car;
    第一发送模块,用于发送所述车辆信息至所述云服务器,以使所述云服务器根据所述车辆信息查询与所述车辆信息相关的汽车钥匙程序以及汽车钥匙数据;a first sending module, configured to send the vehicle information to the cloud server, so that the cloud server queries the car key program and car key data related to the vehicle information according to the vehicle information;
    写入模块,用于将所述汽车钥匙程序以及所述汽车钥匙数据通过所述低频通信单元写入所述待匹配汽车钥匙;a writing module, used for writing the car key program and the car key data into the car key to be matched through the low-frequency communication unit;
    第二获取模块,用于从所述待匹配汽车获取所述待匹配汽车的防盗应用数据;a second acquisition module, configured to acquire the anti-theft application data of the to-be-matched car from the to-be-matched car;
    第二发送模块,用于将所述防盗应用数据发送至所述云服务器,以使所述云服务器根据所述防盗应用数据解析出防盗密码;a second sending module, configured to send the anti-theft application data to the cloud server, so that the cloud server parses the anti-theft password according to the anti-theft application data;
    第一接收模块,用于接收所述云服务器发送的所述防盗密码,并将携带有所述防盗密码的触发请求发送至所述待匹配汽车,以触发所述待匹配汽车启动匹配模式,所述待匹配汽车在所述匹配模式可与所述待匹配钥匙配对。The first receiving module is configured to receive the anti-theft password sent by the cloud server, and send a trigger request carrying the anti-theft password to the car to be matched, so as to trigger the car to be matched to start the matching mode. The car to be matched can be paired with the key to be matched in the matching mode.
  7. 一种汽车通信接口设备,其特征在于,包括:A vehicle communication interface device, comprising:
    汽车通信接口,用于与待匹配汽车通信连接;The car communication interface is used to communicate with the car to be matched;
    第一通信模块,用于与云服务器通信连接;a first communication module, configured to communicate and connect with the cloud server;
    第二通信模块,用于与待匹配汽车钥匙通信连接,其中,所述第二通信模块包括低频通信单元;a second communication module, configured to communicate with the car key to be matched, wherein the second communication module includes a low-frequency communication unit;
    处理器,所述处理器分别与所述汽车通信接口、第一通信模块和第二通信模块通信连接;以及a processor in communication connection with the vehicle communication interface, the first communication module and the second communication module, respectively; and
    存储器,所述存储器与所述处理器通信连接,所述存储器存储有可被所述处理器执行的指令,所述指令被所述处理器执行,以使所述处理器能够执行权利要求1-5中任一项所述的方法。a memory communicatively coupled to the processor, the memory storing instructions executable by the processor, the instructions being executed by the processor to enable the processor to execute claims 1- The method of any one of 5.
  8. 根据权利要求7所述的汽车通信接口设备,其特征在于,所述汽车通信接口为OBD通信接口。The vehicle communication interface device according to claim 7, wherein the vehicle communication interface is an OBD communication interface.
  9. 根据权利要求7所述的汽车通信接口设备,其特征在于,所述第一通信模块为无线通信模块。The vehicle communication interface device according to claim 7, wherein the first communication module is a wireless communication module.
  10. 根据权利要求7所述的汽车通信接口设备,其特征在于,所述低频通信单元包括信号处理模块、低频调制模块、低频发射模块和低频天线,所述信号处理模块、低频调制模块、低频发射模块和低频天线依次连接。The vehicle communication interface device according to claim 7, wherein the low-frequency communication unit comprises a signal processing module, a low-frequency modulation module, a low-frequency transmitting module and a low-frequency antenna, the signal processing module, the low-frequency modulation module, and the low-frequency transmitting module Connect to the low-frequency antenna in turn.
  11. 根据权利要求7所述的汽车通信接口设备,其特征在于,所述第二通信模块还包括高频通信单元,所述高频通信单元用于接收所述待匹配汽车钥匙反馈的数据。The vehicle communication interface device according to claim 7, wherein the second communication module further comprises a high-frequency communication unit, and the high-frequency communication unit is configured to receive data fed back by the car key to be matched.
  12. 根据权利要求7所述的汽车通信接口设备,其特征在于,所述处理器包括第一处理单元、第二处理单元和第三处理单元;The vehicle communication interface device according to claim 7, wherein the processor comprises a first processing unit, a second processing unit and a third processing unit;
    所述第一处理单元、第二处理单元和第三处理单元均通过总线电连接,所述第一处理单元用于处理汽车通信接口设备与所述待匹配汽车交互的信息,所述第二处理单元用于处理所述汽车通信接口设备与所述云服务器交互的信息,所述第三处理单元用于处理汽车通信接口设备与所述待匹配汽车钥匙交互的信息。The first processing unit, the second processing unit and the third processing unit are all electrically connected through a bus, the first processing unit is used for processing the information that the vehicle communication interface device interacts with the vehicle to be matched, and the second processing unit The unit is used to process the information of the interaction between the vehicle communication interface device and the cloud server, and the third processing unit is used to process the information of the interaction between the vehicle communication interface device and the car key to be matched.
  13. 根据权利要求12所述的汽车通信接口设备,其特征在于,所述处理器还包括编解码单元,所述编解码单元与所述总线连接,所述第一处理单元、第二处理单元和第三处理单元处理的交互的信息通过所述编解码单元进行协议格式配适。The vehicle communication interface device according to claim 12, wherein the processor further comprises a codec unit, the codec unit is connected to the bus, the first processing unit, the second processing unit and the first processing unit The interactive information processed by the three processing units is adapted to the protocol format by the codec unit.
  14. 根据权利要求12所述的汽车通信接口设备,其特征在于,所述存储器包括第一存储单元、第二存储单元和第三存储单元;The vehicle communication interface device according to claim 12, wherein the memory comprises a first storage unit, a second storage unit and a third storage unit;
    所述第一存储单元、第二存储单元和第三存储单元均与所述总线连接,所述第一存储单元用于存储写入待匹配汽车钥匙的汽车钥匙程序以及汽车钥匙数据,所述第二存储单元用于存储待匹配汽车反馈的信息,所述第三存储单元用于存储云服务器反馈的信息。The first storage unit, the second storage unit and the third storage unit are all connected to the bus, and the first storage unit is used to store the car key program and car key data written into the car key to be matched. The second storage unit is used to store the information fed back by the car to be matched, and the third storage unit is used to store the information fed back by the cloud server.
PCT/CN2021/127117 2020-11-05 2021-10-28 Automobile key matching method and apparatus, and automobile communication interface device WO2022095789A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011224286.3A CN112311892A (en) 2020-11-05 2020-11-05 Automobile key matching method and device and automobile communication interface equipment
CN202011224286.3 2020-11-05

Publications (1)

Publication Number Publication Date
WO2022095789A1 true WO2022095789A1 (en) 2022-05-12

Family

ID=74325127

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/127117 WO2022095789A1 (en) 2020-11-05 2021-10-28 Automobile key matching method and apparatus, and automobile communication interface device

Country Status (2)

Country Link
CN (1) CN112311892A (en)
WO (1) WO2022095789A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311892A (en) * 2020-11-05 2021-02-02 深圳市道通科技股份有限公司 Automobile key matching method and device and automobile communication interface equipment
CN114093064A (en) * 2021-11-24 2022-02-25 深圳市道通科技股份有限公司 Automobile remote control key matching system and method and automobile communication interface equipment
CN114416073A (en) * 2022-01-22 2022-04-29 重庆长安汽车股份有限公司 Software service system based on key low-frequency positioning, working method and automobile
CN115134244B (en) * 2022-06-24 2023-07-18 重庆长安汽车股份有限公司 Vehicle access device management method and device, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108394376A (en) * 2017-02-08 2018-08-14 比亚迪股份有限公司 Key matching system and method for automobile
WO2019136332A1 (en) * 2018-01-08 2019-07-11 Continental Intelligent Transportation Systems, LLC Multilane message counters to ensure order
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device
CN110298936A (en) * 2018-03-22 2019-10-01 比亚迪股份有限公司 Car key configuration method, system and its equipment
CN111383365A (en) * 2020-04-17 2020-07-07 中山市澳多电子科技有限公司 OBD cloud key
WO2020174544A1 (en) * 2019-02-25 2020-09-03 本田技研工業株式会社 Vehicle, vehicle onboard device, and management method
CN112311892A (en) * 2020-11-05 2021-02-02 深圳市道通科技股份有限公司 Automobile key matching method and device and automobile communication interface equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108394376A (en) * 2017-02-08 2018-08-14 比亚迪股份有限公司 Key matching system and method for automobile
WO2019136332A1 (en) * 2018-01-08 2019-07-11 Continental Intelligent Transportation Systems, LLC Multilane message counters to ensure order
CN110298936A (en) * 2018-03-22 2019-10-01 比亚迪股份有限公司 Car key configuration method, system and its equipment
WO2020174544A1 (en) * 2019-02-25 2020-09-03 本田技研工業株式会社 Vehicle, vehicle onboard device, and management method
CN110111472A (en) * 2019-05-16 2019-08-09 广州小鹏汽车科技有限公司 Vehicle key control method and device
CN111383365A (en) * 2020-04-17 2020-07-07 中山市澳多电子科技有限公司 OBD cloud key
CN112311892A (en) * 2020-11-05 2021-02-02 深圳市道通科技股份有限公司 Automobile key matching method and device and automobile communication interface equipment

Also Published As

Publication number Publication date
CN112311892A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
WO2022095789A1 (en) Automobile key matching method and apparatus, and automobile communication interface device
US11669872B2 (en) Smart broadcasting device
US20200250909A1 (en) Data management method, apparatus, device, system and storage medium for smart lock
WO2019076037A1 (en) Firmware updating method and device
WO2017162112A1 (en) Identity registration method and device
US9100696B2 (en) System and method for upgrading a multiprocessor set-top box device with a monolithic firmware image
US10803681B2 (en) Server side security preventing spoofing of vin provisioning service
WO2017177935A1 (en) Vehicle-based communication method, system and apparatus
CN107979830B (en) Bluetooth connection method, device, equipment and storage medium for intelligent rearview mirror
CN115996865A (en) Virtual vehicle key management method and system based on Internet of vehicles
CN111404695A (en) Token request verification method and device
CN116566994A (en) Cross-chain data transmission method between blockchains, blockchain system, electronic equipment and storage medium
CN111583460A (en) Authentication method and device and computer equipment
EP4257433A1 (en) Information transmission method and communication device
CN116366275A (en) Safety verification method, device, equipment and storage medium based on vehicle controller
CN213973873U (en) A anti-disassembly device and car for vehicle mounted terminal
CN114936360A (en) Data management method of vehicle-mounted driving recording device and vehicle machine
EP3926992B1 (en) Electronic device, and authentication method in electronic device
CN116567069B (en) Method and system for realizing registration of Internet of things
CN116909254A (en) Vehicle-mounted diagnosis system, diagnosis method, electronic equipment and automobile
WO2022161285A1 (en) Method and apparatus for function assistance for vehicle-mounted terminal
CN114938289B (en) Authentication method and device of vehicle-mounted Ethernet
CN116684176A (en) Vehicle-mounted equipment registration method, system and storage medium
CN115100760A (en) Vehicle unlocking method and device and vehicle
CN115705762A (en) Vehicle control method, device, equipment, terminal and medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21888486

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21888486

Country of ref document: EP

Kind code of ref document: A1