CN109150514B - Key writing method and device - Google Patents

Key writing method and device Download PDF

Info

Publication number
CN109150514B
CN109150514B CN201811001034.7A CN201811001034A CN109150514B CN 109150514 B CN109150514 B CN 109150514B CN 201811001034 A CN201811001034 A CN 201811001034A CN 109150514 B CN109150514 B CN 109150514B
Authority
CN
China
Prior art keywords
key
keyless entry
system controller
sending
entry starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811001034.7A
Other languages
Chinese (zh)
Other versions
CN109150514A (en
Inventor
薛雪
梁海强
张德清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Electric Vehicle Co Ltd
Original Assignee
Beijing Electric Vehicle Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Electric Vehicle Co Ltd filed Critical Beijing Electric Vehicle Co Ltd
Priority to CN201811001034.7A priority Critical patent/CN109150514B/en
Publication of CN109150514A publication Critical patent/CN109150514A/en
Application granted granted Critical
Publication of CN109150514B publication Critical patent/CN109150514B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage

Landscapes

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

Abstract

The invention provides a method and a device for writing a secret key, wherein the method for writing the secret key is applied to a keyless entry starting system of a vehicle and comprises the following steps: sending the stored key to a working system controller, calculating the key according to a first preset algorithm, and sending a first calculation result to the working system controller, wherein the first calculation result is used for the working system controller to authenticate the key; and receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with the keyless entry starting system. The embodiment of the invention writes the key into the working system controller through the keyless entry starting system and authenticates the key received by the working system controller, thereby realizing the learning of the key and facilitating the management of the key writing.

Description

Key writing method and device
Technical Field
The invention relates to the technical field of automobiles, in particular to a method and equipment for writing a secret key.
Background
In the related art, in order to improve user experience, a vehicle is provided with a keyless entry starting system, and authentication between the keyless entry starting system and a working system controller is improved, so that a user can open a vehicle door without using a key.
In order to prevent the occurrence of a danger of privately replacing the work system controller, directly sending a command to the power system to drive away the vehicle without a key or driving a vehicle, a key for authentication must be obtained by a garage or a specific maintenance manufacturer and written into the keyless start entry system and the work system controller, thereby ensuring the safety of the vehicle.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and an apparatus for writing a secret key, so as to implement the learning of the secret key.
In order to solve the above technical problem, an embodiment of the present invention provides a method for writing a secret key, which is applied to a keyless entry starting system of a vehicle, and includes:
sending the stored key to a working system controller, calculating the key according to a first preset algorithm, and sending a first calculation result to the working system controller, wherein the first calculation result is used for the working system controller to authenticate the received key;
and receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with the keyless entry starting system.
Preferably, the method for writing the key further includes:
and if the first authentication result sent by the working system controller is not received within a first preset time period after the first calculation result is sent to the working system controller, sending a second authentication result of working system controller authentication overtime to the diagnostic instrument.
Preferably, before the step of sending the stored key to the operating system controller, the method further comprises:
and after the diagnostic instrument passes the access verification, establishing data connection with the diagnostic instrument, and receiving and storing the key written by the diagnostic instrument.
Preferably, before the step of receiving and storing the key written by the diagnostic apparatus, the method further comprises:
receiving a first online state request instruction which is sent by a diagnostic instrument and used for determining whether the keyless entry starting system and the working system controller are online or not;
according to the first online state request instruction, sending a second online state request instruction for determining whether the working system controller is online to the working system controller;
after receiving an online state instruction sent by the working system controller responding to the second online state request instruction, sending first state information indicating that the current keyless entry starting system and the working system controller are online to the diagnostic instrument according to the online state instruction;
and when the online state instruction is not received within a second preset time period after the second online state request instruction is sent, sending second state information which indicates that the current keyless entry starting system is online and the working system controller is not online to the diagnostic instrument.
Preferably, before the step of sending the stored key to the operating system controller, the method further comprises:
after the diagnostic apparatus passes the access verification, establishing data connection with the diagnostic apparatus, and receiving a first learning state request instruction which is sent by the diagnostic apparatus and used for determining whether the keyless entry starting system and the working system controller learn the secret key or not;
sending a second learning request state instruction for determining whether the working system controller learns the key or not to the working system controller according to the first learning request state instruction;
after receiving a learning state instruction sent by the working system controller responding to the second learning state request instruction, sending third state information whether the current keyless entry starting system and the working system controller learn the secret key or not to the diagnostic instrument according to the learning state instruction and the secret key learning state of the working system controller;
and if the third state information indicates that the keyless entry starting system learns the key and the working system controller does not learn the key, executing a step of sending the stored key to the working system controller.
Preferably, if the third status information indicates that the keyless entry and start system has learned the key and the work system controller has not learned the key, before the step of sending the stored key to the work system controller is executed, the method further includes:
and receiving a second key sent by the diagnostic instrument, comparing the second key with a key stored by the diagnostic instrument, if the stored key is consistent with the second key, sending prompt information of consistent key verification to the diagnostic instrument, and executing the step of sending the stored key to the working system controller.
Preferably, if the third status information indicates that the keyless entry starting system does not learn the key and the operating system controller learns the key, the method further includes:
and receiving a third key sent by a diagnostic instrument, sending the third key to the work system controller, receiving a verification result obtained by comparing the received third key with a key stored by the work system controller, and storing the third key if the verification result shows that the keys are consistent.
Preferably, the step of sending the stored key to the operating system controller comprises: sending the stored key to a working system controller according to a first writing instruction which is sent by a diagnostic instrument and used for indicating to write the key into the working system controller;
the steps of calculating the key according to a first preset algorithm and sending a first calculation result to the working system controller include: according to a first authentication instruction which is sent by a diagnostic instrument and used for indicating authentication of a key received by a working system controller, the key is calculated according to a first preset algorithm, and a first calculation result is sent to the working system controller.
According to another aspect of the present invention, an embodiment of the present invention further provides a method for writing a key, which is applied to a work system controller, where the method includes:
receiving a key sent by a keyless entry starting system;
when a first calculation result obtained by calculating the key according to a first preset algorithm and sent by the keyless entry starting system is received, calculating the received key according to the first preset algorithm to obtain a second calculation result;
comparing the second calculation result with the first calculation result to obtain a first authentication result for authenticating the secret key, and sending the first authentication result to the keyless entry starting system;
and if the first authentication result shows that the second calculation result is consistent with the first calculation result in authentication, storing the received key.
Preferably, before the step of receiving the key sent by the keyless entry starting system, the method further comprises:
receiving a second online state request instruction sent by the keyless entry starting system;
and sending an online state instruction to the keyless entry starting system according to the second online state request instruction.
Preferably, before the step of receiving the key sent by the keyless entry starting system, the method further comprises:
receiving a second learning state request instruction sent by the keyless entry starting system;
sending a learning state instruction to the keyless entry starting system according to the second learning state request instruction and the key learning state of the working system controller, wherein the key learning state of the working system controller comprises: a key learned state and a key not learned state.
Preferably, when the operating system controls the current key learning state to be the key learned state, the method further includes:
receiving a third key sent by the keyless entry starting system;
and comparing the third key with a key stored in the third key, and sending a verification result after comparison to the keyless entry starting system.
According to another aspect of the present invention, an embodiment of the present invention further provides a method for writing a secret key, which is applied to a diagnostic apparatus, and includes:
establishing data connection with a keyless entry starting system after access verification, and if the keyless entry starting system and a working system controller are both in an online state and are both in a state of not learning a secret key, sending the secret key to the keyless entry starting system;
after the keyless entry starting system stores the secret key, sending a first writing instruction for controlling the keyless entry starting system to send the secret key to the working system controller to the keyless entry starting system;
after the keyless entry starting system sends the secret key to the working system controller, sending a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained after the secret key is calculated to the working system controller for secret key authentication to the keyless entry starting system;
and receiving a first authentication result which is sent by the keyless entry starting system and used for authenticating the received secret key by the working system controller according to the first calculation result.
Preferably, the method for writing the key further includes:
if the keyless entry starting system is in a key-learned state, sending a second key to the keyless entry starting system, and receiving prompt information after the keyless entry starting system compares the key stored by the keyless entry starting system with the second key;
if the keyless entry starting system is in a state of not learning the key and the working system controller is in a learned state, sending a third key to the keyless entry starting system, and receiving a verification result sent by the keyless entry starting system, wherein the verification result is a verification result sent to the keyless entry starting system after the working system controller compares the key stored by the working system controller with the third key sent by the keyless entry starting system.
According to another aspect of the present invention, an embodiment of the present invention further provides a keyless entry system, including:
the first calculation module is used for sending the stored key to a work system controller, calculating the key according to a first preset algorithm and sending a first calculation result to the work system controller, wherein the first calculation result is used for the work system controller to authenticate the received key;
and the first transceiver module is used for receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with the keyless entry starting system.
According to another aspect of the present invention, an embodiment of the present invention further provides a work system controller, including:
the first receiving module is used for receiving a key sent by a keyless entry starting system;
the first calculation module is used for calculating the received secret key according to a first preset algorithm to obtain a second calculation result when receiving a first calculation result which is sent by the keyless entry starting system and is obtained by calculating the secret key according to the first preset algorithm;
the first comparison module is used for comparing the second calculation result with the first calculation result, obtaining a first authentication result for authenticating the secret key, and sending the first authentication result to the keyless entry starting system;
and the storage module is used for storing the received secret key if the first authentication result shows that the second calculation result is consistent with the first calculation result in authentication.
According to another aspect of the present invention, there is also provided a diagnostic apparatus, including:
the first processing module is used for establishing data connection with the keyless entry starting system after access verification is passed, and if the keyless entry starting system and the working system controller are both in an online state and are both in a state that keys are not learned, the first processing module is used for sending keys to the keyless entry starting system;
the first sending module is used for sending a first writing instruction for controlling the keyless entry starting system to send the secret key to the working system controller to the keyless entry starting system after the keyless entry starting system stores the secret key;
the second sending module is used for sending a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained after calculation of the secret key to the working system controller for secret key authentication to the keyless entry starting system after the keyless entry starting system sends the secret key to the working system controller;
and the receiving module is used for receiving a first authentication result which is sent by the keyless entry starting system and used for authenticating the received key by the working system controller according to the first calculation result.
According to another aspect of the present invention, embodiments of the present invention also provide a vehicle including the keyless entry starting system described above and/or the operating system controller described above.
According to another aspect of the present invention, an embodiment of the present invention further provides a computing device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for writing a key as described above.
According to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for writing a key as described above.
Compared with the prior art, the method and the device for writing the key provided by the embodiment of the invention at least have the following beneficial effects: the embodiment of the invention writes the key into the working system controller through the keyless entry starting system and authenticates the key received by the working system controller, thereby realizing the learning of the key and facilitating the management of the key writing.
Drawings
Fig. 1 is a flowchart of a key writing method applied to a keyless entry system according to an embodiment of the present invention;
FIG. 2 is a flowchart of a key writing method applied to a work system controller according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for writing a secret key to a diagnostic apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a keyless entry system according to an embodiment of the invention;
FIG. 5 is a schematic structural diagram of a work system controller according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a diagnostic apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the full understanding of the embodiments of the present invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
It should be understood that the term "and/or" herein is merely one type of association relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Referring to fig. 1, an embodiment of the present invention provides a method for writing a key, which is applied to a keyless entry starting system of a vehicle, and includes:
step 101, sending a stored key to a work system controller, calculating the key according to a first preset algorithm, and sending a first calculation result to the work system controller, wherein the first calculation result is used for the work system controller to authenticate the received key;
and 102, receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with the keyless entry starting system.
Here, the operating system controller in the embodiment of the present invention may be an electric steering column lock ESCL or a power system controller, a battery management system BMS for an electric vehicle, and an engine controller for a fuel vehicle. It will of course be appreciated that for different keyless entry systems it is possible to control the vehicle via other controllers, or to control more controllers such as a lock controller, etc., which may all be understood as operating system controllers in embodiments of the present invention.
The embodiment of the invention writes the key into the working system controller through the keyless entry starting system and authenticates the key received by the working system controller, thereby realizing the learning of the key and facilitating the management of the key writing.
Here, the first authentication result may be authentication success or authentication failure, the authentication success indicates that the key received by the operating system controller is consistent with the key for starting the entry system without the key, and if the authentication failure occurs, step 101 may be executed again until the authentication is successful.
Here, the method for writing the key may further include: and if the first authentication result sent by the working system controller is not received within a first preset time period after the first calculation result is sent to the working system controller, sending a second authentication result of working system controller authentication overtime to the diagnostic instrument. If the authentication is over time, step 101 may be executed again until the authentication is successful.
Here, there are two common occurrences in key learning, one being performed by the automobile manufacturer when the vehicle is taken off-line, and the other being performed by after-sales when the vehicle is repaired or parts are replaced.
When the vehicle is off-line, the method may further include, before the step of sending the stored key to the work system controller in step 101:
and after the diagnostic instrument passes the access verification, establishing data connection with the diagnostic instrument, and receiving and storing the key written by the diagnostic instrument.
Here, the key stored in the keyless entry enable state is written by the diagnostic instrument. In order to further improve the safety performance, when the diagnostic instrument is connected with the keyless entry starting system, access verification is required, the diagnostic instrument can be connected with the keyless entry starting system only after verification is passed, and the access verification can be verified through a preset connection protocol.
In order to prevent the key-free entry into the starting system and/or the working system controller from being offline, which may result in failure to learn the subsequent key, in a preferred embodiment of the present invention, the method may further include, before the step of receiving and storing the key written by the diagnostic device:
receiving a first online state request instruction which is sent by a diagnostic instrument and used for determining whether the keyless entry starting system and the working system controller are online or not;
according to the first online state request instruction, sending a second online state request instruction for determining whether the working system controller is online to the working system controller;
after receiving an online state instruction sent by the working system controller responding to the second online state request instruction, sending first state information indicating that the current keyless entry starting system and the working system controller are online to the diagnostic instrument according to the online state instruction;
and when the online state instruction is not received within a second preset time period after the second online state request instruction is sent, sending second state information which indicates that the current keyless entry starting system is online and the working system controller is not online to the diagnostic instrument.
Here, it can be understood that, if the diagnostic apparatus does not receive the second status information sent by the keyless entry starting system within a third preset time period after the occurrence of the first online status request instruction, it may be determined that the current keyless entry starting system is not online, and the keyless entry starting system may be manually controlled to be online, or the first online status request instruction may be sent again.
Before the step of sending the stored key to the work system controller while in the after-market setting, the method may further comprise:
after the diagnostic apparatus passes the access verification, establishing data connection with the diagnostic apparatus, and receiving a first learning state request instruction which is sent by the diagnostic apparatus and used for determining whether the keyless entry starting system and the working system controller learn the secret key or not;
here, in the after-sales scenario, it is necessary to determine whether the keyless entry starting system and the operating system controller learn the key first, so as to perform the subsequent operation.
Sending a second learning request state instruction for determining whether the working system controller learns the key or not to the working system controller according to the first learning request state instruction;
after receiving a learning state instruction sent by the working system controller responding to the second learning state request instruction, sending third state information whether the current keyless entry starting system and the working system controller learn the secret key or not to the diagnostic instrument according to the learning state instruction and the secret key learning state of the working system controller;
and if the third state information indicates that the keyless entry starting system learns the key and the working system controller does not learn the key, executing a step of sending the stored key to the working system controller.
Here, it can be understood that, for the operation of the diagnostic apparatus in different scenarios, the operation may be determined by human and performed accordingly, and the keyless entry starting system may perform the corresponding operation according to the received instruction.
Preferably, if the third status information indicates that the keyless entry and start system has learned the key and the work system controller has not learned the key, before the step of sending the stored key to the work system controller is executed, the method further includes:
and receiving a second key sent by the diagnostic instrument, comparing the second key with a key stored by the diagnostic instrument, if the stored key is consistent with the second key, sending prompt information of consistent key verification to the diagnostic instrument, and executing the step of sending the stored key to the working system controller.
Here, if the keyless entry system has learned the key, it is necessary to verify the key that it has learned.
Preferably, if the third status information indicates that the keyless entry starting system does not learn the key and the operating system controller learns the key, the method further includes:
and receiving a third key sent by a diagnostic instrument, sending the third key to the work system controller, receiving a verification result obtained by comparing the received third key with a key stored by the work system controller, and storing the third key if the verification result shows that the keys are consistent.
When the keyless entry starting system does not learn the secret key, the diagnostic instrument writes the third secret key, the working system controller verifies the third secret key, if the verification structure shows that the secret keys are inconsistent, the keyless entry starting system controls the self-locking, and does not respond to the diagnostic instrument connected with the keyless entry starting system within a fourth preset time period, so that the safety is ensured.
Here, in order to facilitate the operator to effectively control and monitor the learning process, the above operations may be controlled by instructions sent by the diagnostic apparatus, and preferably, the step of sending the stored key to the work system controller includes: sending the stored key to a working system controller according to a first writing instruction which is sent by a diagnostic instrument and used for indicating to write the key into the working system controller;
the steps of calculating the key according to a first preset algorithm and sending a first calculation result to the working system controller include: according to a first authentication instruction which is sent by a diagnostic instrument and used for indicating authentication of a key received by a working system controller, the key is calculated according to a first preset algorithm, and a first calculation result is sent to the working system controller.
It is to be understood that, when there are multiple work system controllers, the above operations may be performed to multiple work system controllers at the same time, or may be performed sequentially according to instructions.
Referring to fig. 2, according to another aspect of the present invention, an embodiment of the present invention further provides a method for writing a key, which is applied to an operating system controller, where the method includes:
step 201, receiving a key sent by a keyless entry starting system;
step 202, when a first calculation result obtained by calculating the secret key according to a first preset algorithm and sent by the keyless entry starting system is received, calculating the received secret key according to the first preset algorithm to obtain a second calculation result;
step 203, comparing the second calculation result with the first calculation result, obtaining a first authentication result for authenticating the secret key, and sending the first authentication result to the keyless entry starting system;
step 204, if the first authentication result indicates that the second calculation result is consistent with the first calculation result, storing the received key.
Here, the writing method applied to the operating system controller according to the embodiment of the present invention and the writing method applied to the keyless entry system described above correspond to each other, can be referred to each other, and have corresponding beneficial effects, and are not described herein again to avoid repetition.
Preferably, before the step of receiving the key sent by the keyless entry starting system, the method further comprises:
receiving a second online state request instruction sent by the keyless entry starting system;
and sending an online state instruction to the keyless entry starting system according to the second online state request instruction.
Preferably, before the step of receiving the key sent by the keyless entry starting system, the method further comprises:
receiving a second learning state request instruction sent by the keyless entry starting system;
sending a learning state instruction to the keyless entry starting system according to the second learning state request instruction and the key learning state of the working system controller, wherein the key learning state of the working system controller comprises: a key learned state and a key not learned state.
Preferably, when the operating system controls the current key learning state to be the key learned state, the method further includes:
receiving a third key sent by the keyless entry starting system;
and comparing the third key with a key stored in the third key, and sending a verification result after comparison to the keyless entry starting system.
Referring to fig. 3, according to another aspect of the present invention, an embodiment of the present invention further provides a method for writing a secret key, applied to a diagnostic apparatus, including:
step 301, after access verification, establishing data connection with a keyless entry starting system, and if the keyless entry starting system and a working system controller are both in an online state and are both in a state of not learning a secret key, sending the secret key to the keyless entry starting system;
step 302, after the keyless entry starting system stores the secret key, sending a first write-in instruction for controlling the keyless entry starting system to send the secret key to the working system controller to the keyless entry starting system;
step 303, after the keyless entry starting system sends the key to the work system controller, sending a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained by calculating the key to the work system controller for key authentication to the keyless entry starting system;
step 304, receiving a first authentication result that the keyless entry starting system sends the working system controller to authenticate the received secret key according to the first calculation result.
Here, the writing method applied to the diagnostic apparatus according to the embodiment of the present invention and the above-described writing method applied to the keyless entry system and the operating system controller correspond to each other and can be referred to for reference. The three components are mutually matched and have corresponding beneficial effects, and are not described again in order to avoid repetition.
Preferably, the method for writing the key further includes:
if the keyless entry starting system is in a key-learned state, sending a second key to the keyless entry starting system, and receiving prompt information after the keyless entry starting system compares the key stored by the keyless entry starting system with the second key;
if the keyless entry starting system is in a state of not learning the key and the working system controller is in a learned state, sending a third key to the keyless entry starting system, and receiving a verification result sent by the keyless entry starting system, wherein the verification result is a verification result sent to the keyless entry starting system after the working system controller compares the key stored by the working system controller with the third key sent by the keyless entry starting system.
The combination of the three will be further described below by way of example.
Factory offline learning process: that is, when the vehicle is off-line in the factory, the diagnostic device writes the key to the keyless entry starting system PEPS and the operating system controller (such as the battery management system BMS and the electronic steering column lock ESCL), where the PEPS is the master controller, the BMS and the ESCL are the slave controllers, the diagnostic device can directly write the key to the master controller, and the key obtained by the slave controller can only be written by the master controller and cannot be directly obtained by the diagnostic device.
After the diagnosis instrument is connected, the unique key can be obtained by scanning the VIN code of the vehicle, and the PEPS learning process is started through the diagnosis service instruction after the safe access service.
The diagnosis instrument firstly detects whether the PEPS, the BMS and the ESCL are online, the diagnosis instrument sends an online state request command to the PEPS, the PEPS sends an online state request command to the BMS and the ESCL, and the PEPS feeds back the online state request command to the diagnosis instrument after receiving the online state command replied by the BMS and the ESCL. The feedback result state is as follows: PEPS is online, BMS is online, and ESCL is online; PEPS is online, BMS is online, and ESCL is not online; PEPS is online, BMS is offline, and ESCL is online; PEPS is online, BMS is offline, and ESCL is offline; and when the feedback is not received, the PEPS is offline.
The diagnostic instrument writes the key to the PEPS through the diagnostic service when the PEPS, BMS, and ESCL are all online, and initiates an ESCL learning process when the PEPS has stored the key.
The diagnostic instrument controls the PEPS to send the key to the ESCL, which stores the key in the EEPROM. After the key is stored in the EEPROM by the ESCL, the PEPS authenticates the key with the ESCL in order to ensure that the ESCL learns the correct key. And (3) authentication process: the ESCL sends the learned key to the PEPS, the PEPS calculates the key according to a diagnosis instrument instruction through a certain rule, and sends a calculation result to the ESCL, the ESCL compares the calculation result of the PEPS with the calculation result of the PEPS, if the comparison is successful, the ESCL sends a comparison result correct instruction to the PEPS, and the PEPS sends a result to the diagnosis instrument: the ESCL comparison results are correct. If the comparison result fails, the ESCL sends a comparison error instruction to the PEPS, and the PEPS sends the result to the diagnostic instrument: the ESCL comparison results are erroneous. If the PEPS does not receive the comparison result sent by the ESCL in T1s, the PEPS sends the result to the diagnostic instrument: the ESCL comparison results in time-out.
When the BMS learning is completed, the diagnostic instrument starts the BMS learning process. The PEPS sends the key to the BMS, which stores the key in the EEPROM. After the BMS stores the key in the EEPROM, the PEPS authenticates the key with the BMS in order to ensure that the BMS learns the correct key. And (3) authentication process: the BMS sends the learned key to the PEPS, the PEPS calculates the key through a certain rule, the calculation result is sent to the BMS, the BMS compares the calculation result of the PEPS with the calculation result of the BMS, if the comparison is successful, the BMS sends a correct command of the comparison result to the PEPS, and the PEPS sends the result to the diagnostic instrument: the BMS comparison result is correct. If the comparison result fails, the BMS sends a comparison error instruction to the PEPS, and the PEPS sends the result to the diagnostic instrument: the BMS compares the result erroneously. If the PEPS does not receive the comparison result sent by the BMS in T1s, the PEPS sends the result to the diagnostic instrument: the BMS comparison is timed out.
After-sale learning process: when the PEPS, the BMS and the ESCL are off-line in a factory, the keys are learned, when the controllers need to be replaced, the keys need to be written and successfully authenticated, the replaced controllers can normally work, and if the keys of the newly replaced controllers and the keys of the old modules cannot be successfully authenticated, the vehicle cannot be started. After sale, the key cannot be generated through the VIN number and needs to be obtained through a whole factory.
The diagnosis instrument firstly detects whether the PEPS, the BMS and the ESCL are learning or not, the diagnosis instrument sends a learning state request instruction to the PEPS, the PEPS sends the learning state request instruction to the BMS and the ESCL, and the PEPS feeds back the learning state request instruction to the diagnosis instrument after receiving the learning state instruction replied by the BMS and the ESCL.
If the PEPS has learned, the diagnostic device inputs the key after sale, the diagnostic device sends the key to the PEPS, the PEPS compares the key with the key of the PEPS, and if the key does not match, the PEPS retries until T2s is exceeded. The PEPS sends the comparison result to the diagnostic instrument, and the result comprises: the comparison is successful, the comparison is failed, and the comparison is overtime. If the comparison fails or the comparison is overtime, the PEPS will be locked and will not respond to the diagnostic instrument within a certain time.
If the PEPS does not learn, the key is input into the diagnostic instrument after sale, the diagnostic instrument sends the key to the PEPS, the PEPS forwards the key to the BMS and the ESCL, and the BMS/ESCL verifies whether the key is correct. If any controller of the BMS/ESCL sends a comparison success flag bit to the PEPS, the key comparison is successful, and if not, the key comparison is retried until T3s is exceeded. If the operation is unsuccessful or overtime, the PEPS will lock and will not respond to the after-sale operation within a certain time.
And after the key authentication is successful, the controller which has learned the key forwards the learned key to the controller which has not learned, and the controller which has not learned stores the key.
Referring to fig. 4, according to another aspect of the present invention, an embodiment of the present invention further provides a keyless entry system, including:
the first calculation module 401 is configured to send a stored secret key to a work system controller, calculate the secret key according to a first preset algorithm, and send a first calculation result to the work system controller, where the first calculation result is used for the work system controller to authenticate a received secret key;
a first transceiver module 402, configured to receive a first authentication result, which is sent by the operating system controller and authenticates the secret key according to the first calculation result, and send the first authentication result to a diagnostic apparatus in data connection with the keyless entry starting system.
The keyless entry starting system of the embodiment of the present invention can implement the above-mentioned processes applied to the writing method embodiment of the keyless entry starting system, and has corresponding beneficial effects, and is not described here again to avoid repetition.
Preferably, the first transceiver module may be further configured to: and if the first authentication result sent by the working system controller is not received within a first preset time period after the first calculation result is sent to the working system controller, sending a second authentication result of working system controller authentication overtime to the diagnostic instrument.
Preferably, the keyless entry starting system may further comprise:
and the storage module is used for establishing data connection with the diagnostic apparatus after the diagnostic apparatus passes the access verification, and receiving and storing the key written by the diagnostic apparatus.
Preferably, the keyless entry starting system may further comprise:
the first receiving module is used for receiving a first online state request instruction which is sent by a diagnostic instrument and used for determining whether the keyless entry starting system and the working system controller are online or not;
the first sending module is used for sending a second online state request instruction for determining whether the working system controller is online to the working system controller according to the first online state request instruction;
the second transceiver module is used for sending first state information which represents that the current keyless entry starting system and the working system controller are on line to the diagnostic instrument according to the online state instruction after receiving the online state instruction sent by the working system controller responding to the second request online state instruction;
and the second transceiver module is further configured to send, to the diagnostic instrument, second state information indicating that the current keyless entry starting system is online and the working system controller is not online when the online state instruction is not received within a second preset time period after the second online state request instruction is sent.
Preferably, the keyless entry starting system may further comprise:
the second receiving module is used for establishing data connection with the diagnostic apparatus after the diagnostic apparatus passes the access verification, and receiving a first learning state request instruction which is sent by the diagnostic apparatus and used for determining whether the keyless entry starting system and the working system controller learn the secret key or not;
a second sending module, configured to send, to the work system controller, a second learning request status instruction for determining whether the work system controller learns a key according to the first learning request status instruction;
the third transceiver module is used for sending third state information whether the current keyless entry starting system and the working system controller learn the secret key or not to the diagnostic instrument according to the learning state instruction and the secret key learning state of the third transceiver module after receiving the learning state instruction sent by the working system controller responding to the second learning state request instruction;
and if the third state information indicates that the keyless entry starting system learns the key and the working system controller does not learn the key, the first calculation module executes the step of sending the stored key to the working system controller.
Preferably, the keyless entry starting system may further comprise:
and the fourth transceiving module is used for receiving a second key sent by the diagnostic instrument, comparing the second key with a key stored by the fourth transceiving module, if the stored key is consistent with the second key, sending prompt information of consistent key verification to the diagnostic instrument, and executing the step of sending the stored key to the working system controller.
Preferably, the keyless entry starting system may further comprise:
and the fifth transceiver module is used for receiving a third key sent by the diagnostic instrument, sending the third key to the working system controller, receiving a verification result obtained by comparing the received third key with a key stored by the working system controller, and storing the third key if the verification result shows that the keys are consistent.
Preferably, the first calculation module may include: the device comprises a sending unit, a working system controller and a storage unit, wherein the sending unit is used for sending a stored secret key to the working system controller according to a first writing instruction which is sent by a diagnostic instrument and used for indicating to write the secret key into the working system controller;
the first computing module may further include: and the calculation unit is used for calculating the secret key according to a first preset algorithm according to a first authentication instruction which is sent by the diagnostic instrument and used for indicating authentication of the secret key received by the working system controller, and sending a first calculation result to the working system controller.
Referring to fig. 5, according to another aspect of the present invention, an embodiment of the present invention further provides an operating system controller, including:
a first receiving module 501, configured to receive a key sent by a keyless entry starting system;
the first calculation module 502 is configured to, when a first calculation result obtained by calculating the key according to a first preset algorithm and sent by the keyless entry starting system is received, calculate the received key according to the first preset algorithm to obtain a second calculation result;
a first comparison module 503, configured to compare the second calculation result with the first calculation result, obtain a first authentication result for authenticating the secret key, and send the first authentication result to the keyless entry starting system;
a storage module 504, configured to store the received key if the first authentication result indicates that the second calculation result is identical to the first calculation result.
The working system controller of the embodiment of the present invention can implement each process in the above-described writing method embodiment applied to the working system controller, and has corresponding beneficial effects, and for avoiding repetition, details are not repeated here.
Preferably, the work system controller may further include:
the second receiving module is used for receiving a second online state request instruction sent by the keyless entry starting system;
and the first sending module is used for sending the online state instruction to the keyless entry starting system according to the second online state request instruction.
Preferably, the work system controller may further include:
the third receiving module is used for receiving a second learning state request instruction sent by the keyless entry starting system;
a second sending module, configured to send a learning state instruction to the keyless entry starting system according to the second request learning state instruction and a key learning state of the second sending module, where the key learning state of the operating system controller includes: a key learned state and a key not learned state.
Preferably, the work system controller may further include:
the fourth receiving module is used for receiving a third key sent by the keyless entry starting system;
and the second comparison module is used for comparing the third key with a key stored by the second comparison module and sending a verification result after comparison to the keyless entry starting system.
Referring to fig. 6, according to another aspect of the present invention, there is also provided a diagnostic apparatus including:
the first processing module 601 is configured to establish data connection with a keyless entry starting system after access verification is passed, and send a key to the keyless entry starting system if the keyless entry starting system and a working system controller are both in an online state and are both in a state where the key is not learned;
a first sending module 602, configured to send, to the keyless entry starting system, a first write instruction for controlling the keyless entry starting system to send the secret key to the operating system controller after the keyless entry starting system stores the secret key;
a second sending module 603, configured to send, to the keyless entry starting system, a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained by calculating a secret key to the working system controller for secret key authentication after the keyless entry starting system sends the secret key to the working system controller;
a receiving module 604, configured to receive a first authentication result that the keyless entry starting system sends the first calculation result to the operating system controller to authenticate the received key according to the first calculation result.
The diagnostic apparatus of the embodiment of the present invention can implement the processes in the writing method embodiment applied to the diagnostic apparatus, and has corresponding beneficial effects, and for avoiding repetition, the details are not repeated here.
Preferably, the diagnostic apparatus may further comprise:
the first transceiving module is used for sending a second secret key to the keyless entry starting system if the keyless entry starting system is in a secret key learned state, and receiving prompt information after the keyless entry starting system compares the secret key stored by the keyless entry starting system with the second secret key;
and the second transceiver module is used for sending a third secret key to the keyless entry starting system and receiving a verification result sent by the keyless entry starting system if the keyless entry starting system is in a state of not learning the secret key and the working system controller is in a learned state, wherein the verification result is a verification result sent to the keyless entry starting system after the working system controller compares the secret key stored by the working system controller with the third secret key sent by the keyless entry starting system.
According to another aspect of the present invention, embodiments of the present invention also provide a vehicle including the keyless entry starting system described above and/or the operating system controller described above.
According to another aspect of the present invention, an embodiment of the present invention further provides a computing device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the method for writing a key as described above.
According to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method for writing a key as described above.
Compared with the prior art, the method and the device for writing the key provided by the embodiment of the invention at least have the following beneficial effects: the embodiment of the invention writes the key into the working system controller through the keyless entry starting system and authenticates the key received by the working system controller, thereby realizing the learning of the key and facilitating the management of the key writing.
Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (18)

1. A method for writing a key, applied to a keyless entry starting system of a vehicle, is characterized by comprising the following steps:
sending the stored key to a working system controller, calculating the key according to a first preset algorithm, and sending a first calculation result to the working system controller, wherein the first calculation result is used for the working system controller to authenticate the received key;
receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with a keyless entry starting system;
wherein, prior to the step of sending the stored key to the operating system controller, the method further comprises:
after the diagnostic apparatus passes the access verification, establishing data connection with the diagnostic apparatus, and receiving a first learning state request instruction which is sent by the diagnostic apparatus and used for determining whether the keyless entry starting system and the working system controller learn the secret key or not;
sending a second learning request state instruction for determining whether the working system controller learns the key or not to the working system controller according to the first learning request state instruction;
after receiving a learning state instruction sent by the working system controller responding to the second learning state request instruction, sending third state information whether the current keyless entry starting system and the working system controller learn the secret key or not to the diagnostic instrument according to the learning state instruction and the secret key learning state of the working system controller;
and if the third state information indicates that the keyless entry starting system learns the key and the working system controller does not learn the key, executing a step of sending the stored key to the working system controller.
2. The method for writing a key according to claim 1, further comprising:
and if the first authentication result sent by the working system controller is not received within a first preset time period after the first calculation result is sent to the working system controller, sending a second authentication result of working system controller authentication overtime to the diagnostic instrument.
3. The method of claim 1, wherein prior to the step of sending the stored key to the operating system controller, the method further comprises:
and after the diagnostic instrument passes the access verification, establishing data connection with the diagnostic instrument, and receiving and storing the key written by the diagnostic instrument.
4. The method of claim 3, wherein the step of receiving and storing the key written by the diagnostic device is preceded by the step of:
receiving a first online state request instruction which is sent by a diagnostic instrument and used for determining whether the keyless entry starting system and the working system controller are online or not;
according to the first online state request instruction, sending a second online state request instruction for determining whether the working system controller is online to the working system controller;
after receiving an online state instruction sent by the working system controller responding to the second online state request instruction, sending first state information indicating that the current keyless entry starting system and the working system controller are online to the diagnostic instrument according to the online state instruction;
and when the online state instruction is not received within a second preset time period after the second online state request instruction is sent, sending second state information which indicates that the current keyless entry starting system is online and the working system controller is not online to the diagnostic instrument.
5. The method according to claim 1, wherein if the third status information indicates that the keyless entry system has learned the key and the operating system controller has not learned the key, before the step of sending the stored key to the operating system controller is performed, the method further comprises:
and receiving a second key sent by the diagnostic instrument, comparing the second key with a key stored by the diagnostic instrument, if the stored key is consistent with the second key, sending prompt information of consistent key verification to the diagnostic instrument, and executing the step of sending the stored key to the working system controller.
6. The method according to claim 1, wherein if the third status information indicates that the keyless entry system has not learned the key and the operating system controller has learned the key, the method further comprises:
and receiving a third key sent by a diagnostic instrument, sending the third key to the work system controller, receiving a verification result obtained by comparing the received third key with a key stored by the work system controller, and storing the third key if the verification result shows that the keys are consistent.
7. The method of claim 1, wherein the key is written in a write-in area,
the step of sending the stored key to the operating system controller comprises: sending the stored key to a working system controller according to a first writing instruction which is sent by a diagnostic instrument and used for indicating to write the key into the working system controller;
the steps of calculating the key according to a first preset algorithm and sending a first calculation result to the working system controller include: according to a first authentication instruction which is sent by a diagnostic instrument and used for indicating authentication of a key received by a working system controller, the key is calculated according to a first preset algorithm, and a first calculation result is sent to the working system controller.
8. A writing method of a key is applied to a work system controller, and is characterized by comprising the following steps:
receiving a key sent by a keyless entry starting system;
when a first calculation result obtained by calculating the key according to a first preset algorithm and sent by the keyless entry starting system is received, calculating the received key according to the first preset algorithm to obtain a second calculation result;
comparing the second calculation result with the first calculation result to obtain a first authentication result for authenticating the secret key, and sending the first authentication result to the keyless entry starting system;
if the first authentication result shows that the second calculation result is consistent with the first calculation result in authentication, storing the received key;
before the step of receiving the key sent by the keyless entry starting system, the method further comprises:
receiving a second learning state request instruction sent by the keyless entry starting system;
sending a learning state instruction to the keyless entry starting system according to the second learning state request instruction and the key learning state of the working system controller, wherein the key learning state of the working system controller comprises: a key learned state and a key not learned state.
9. The method for writing a key according to claim 8, wherein before the step of receiving the key transmitted by the keyless entry system, the method further comprises:
receiving a second online state request instruction sent by the keyless entry starting system;
and sending an online state instruction to the keyless entry starting system according to the second online state request instruction.
10. The method according to claim 8, wherein when the operating system controls the current key learning state to be a key learned state, the method further comprises:
receiving a third key sent by the keyless entry starting system;
and comparing the third key with a key stored in the third key, and sending a verification result after comparison to the keyless entry starting system.
11. A method for writing a secret key is applied to a diagnostic instrument and is characterized by comprising the following steps:
establishing data connection with a keyless entry starting system after access verification, and if the keyless entry starting system and a working system controller are both in an online state and are both in a state of not learning a secret key, sending the secret key to the keyless entry starting system;
after the keyless entry starting system stores the secret key, sending a first writing instruction for controlling the keyless entry starting system to send the secret key to the working system controller to the keyless entry starting system;
after the keyless entry starting system sends the secret key to the working system controller, sending a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained after the secret key is calculated to the working system controller for secret key authentication to the keyless entry starting system;
and receiving a first authentication result which is sent by the keyless entry starting system and used for authenticating the received secret key by the working system controller according to the first calculation result.
12. The method for writing a key according to claim 11, further comprising:
if the keyless entry starting system is in a key-learned state, sending a second key to the keyless entry starting system, and receiving prompt information after the keyless entry starting system compares the key stored by the keyless entry starting system with the second key;
if the keyless entry starting system is in a state of not learning the key and the working system controller is in a learned state, sending a third key to the keyless entry starting system, and receiving a verification result sent by the keyless entry starting system, wherein the verification result is a verification result sent to the keyless entry starting system after the working system controller compares the key stored by the working system controller with the third key sent by the keyless entry starting system.
13. A keyless entry start system comprising:
the first calculation module is used for sending the stored key to a work system controller, calculating the key according to a first preset algorithm and sending a first calculation result to the work system controller, wherein the first calculation result is used for the work system controller to authenticate the received key;
the first receiving and sending module is used for receiving a first authentication result which is sent by the working system controller and authenticates the secret key according to the first calculation result, and sending the first authentication result to a diagnostic instrument which is in data connection with the keyless entry starting system;
wherein the keyless entry start system may further comprise:
the second receiving module is used for establishing data connection with the diagnostic apparatus after the diagnostic apparatus passes the access verification, and receiving a first learning state request instruction which is sent by the diagnostic apparatus and used for determining whether the keyless entry starting system and the working system controller learn the secret key or not;
a second sending module, configured to send, to the work system controller, a second learning request status instruction for determining whether the work system controller learns a key according to the first learning request status instruction;
the third transceiver module is used for sending third state information whether the current keyless entry starting system and the working system controller learn the secret key or not to the diagnostic instrument according to the learning state instruction and the secret key learning state of the third transceiver module after receiving the learning state instruction sent by the working system controller responding to the second learning state request instruction;
and if the third state information indicates that the keyless entry starting system learns the key and the working system controller does not learn the key, the first calculation module executes the step of sending the stored key to the working system controller.
14. An operating system controller, comprising:
the first receiving module is used for receiving a key sent by a keyless entry starting system;
the first calculation module is used for calculating the received secret key according to a first preset algorithm to obtain a second calculation result when receiving a first calculation result which is sent by the keyless entry starting system and is obtained by calculating the secret key according to the first preset algorithm;
the first comparison module is used for comparing the second calculation result with the first calculation result, obtaining a first authentication result for authenticating the secret key, and sending the first authentication result to the keyless entry starting system;
the storage module is used for storing the received secret key if the first authentication result shows that the second calculation result is consistent with the first calculation result in authentication;
wherein the work system controller may further include:
the third receiving module is used for receiving a second learning state request instruction sent by the keyless entry starting system;
a second sending module, configured to send a learning state instruction to the keyless entry starting system according to the second request learning state instruction and a key learning state of the second sending module, where the key learning state of the operating system controller includes: a key learned state and a key not learned state.
15. A diagnostic instrument, comprising:
the first processing module is used for establishing data connection with the keyless entry starting system after access verification is passed, and if the keyless entry starting system and the working system controller are both in an online state and are both in a state that keys are not learned, the first processing module is used for sending keys to the keyless entry starting system;
the first sending module is used for sending a first writing instruction for controlling the keyless entry starting system to send the secret key to the working system controller to the keyless entry starting system after the keyless entry starting system stores the secret key;
the second sending module is used for sending a first authentication instruction for controlling the keyless entry starting system to send a first calculation result obtained after calculation of the secret key to the working system controller for secret key authentication to the keyless entry starting system after the keyless entry starting system sends the secret key to the working system controller;
and the receiving module is used for receiving a first authentication result which is sent by the keyless entry starting system and used for authenticating the received key by the working system controller according to the first calculation result.
16. A vehicle comprising a keyless entry start system according to claim 13 and/or an operating system controller according to claim 14.
17. A computing device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implementing the steps of a method of writing a key as claimed in any one of claims 1 to 7, or the computer program when executed implementing the steps of a method of writing a key as claimed in any one of claims 8 to 10, or the computer program when executed implementing the steps of a method of writing a key as claimed in claim 11 or 12.
18. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of a method for writing a key according to any one of claims 1 to 7, or carries out the steps of a method for writing a key according to claims 8 to 10, or carries out the steps of a method for writing a key according to claim 11 or 12.
CN201811001034.7A 2018-08-30 2018-08-30 Key writing method and device Active CN109150514B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811001034.7A CN109150514B (en) 2018-08-30 2018-08-30 Key writing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811001034.7A CN109150514B (en) 2018-08-30 2018-08-30 Key writing method and device

Publications (2)

Publication Number Publication Date
CN109150514A CN109150514A (en) 2019-01-04
CN109150514B true CN109150514B (en) 2021-05-28

Family

ID=64829214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811001034.7A Active CN109150514B (en) 2018-08-30 2018-08-30 Key writing method and device

Country Status (1)

Country Link
CN (1) CN109150514B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653548B (en) * 2019-10-09 2023-02-21 北京新能源汽车股份有限公司 Key processing method, gateway, electric detection equipment, diagnostic instrument and electronic control unit
CN113138591B (en) * 2020-01-20 2022-12-23 北京新能源汽车股份有限公司 Control method and device of vehicle safety factor, control equipment and automobile
CN112590705B (en) * 2021-01-06 2021-12-24 江铃汽车股份有限公司 Matching control method and system for automobile Bluetooth key
CN114666041A (en) * 2021-05-31 2022-06-24 长城汽车股份有限公司 Key injection method, device, medium and vehicle
CN113799734B (en) * 2021-10-25 2022-11-18 中国第一汽车股份有限公司 Anti-theft matching method, device, server and medium for vehicle anti-theft system
CN114399895A (en) * 2021-12-24 2022-04-26 北京经纬恒润科技股份有限公司 Matching method and system of vehicle remote controller and controller

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729915A (en) * 2012-10-10 2014-04-16 株式会社东海理化电机制作所 Electronic key registration system and method
CN104118392A (en) * 2013-04-28 2014-10-29 广州汽车集团股份有限公司 Engine anti-theft authentication method and device of engine anti-theft system
CN104917745A (en) * 2014-03-13 2015-09-16 通用汽车环球科技运作有限责任公司 Controlling access to personal information stored in a vehicle using a cryptographic key
CN106059754A (en) * 2016-06-23 2016-10-26 北京汽车股份有限公司 Vehicle data processing method and system, and devices
CN106155043A (en) * 2016-07-28 2016-11-23 北京新能源汽车股份有限公司 Vehicle data acquisition methods, device and equipment
WO2016208227A1 (en) * 2015-06-22 2016-12-29 Kddi株式会社 Management system, vehicle, management device, vehicle-mounted computer, management method, and computer program
CN106780879A (en) * 2016-12-12 2017-05-31 大陆汽车电子(长春)有限公司 Data handling system based on keyless entry starter
CN107113167A (en) * 2014-12-12 2017-08-29 Kddi株式会社 Managing device, key generating device, vehicle, maintenance tool, management system, management method and computer program
CN107610278A (en) * 2017-07-31 2018-01-19 宁波远景汽车零部件有限公司 Intelligent key learning method and system
CN107640125A (en) * 2017-08-30 2018-01-30 北京新能源汽车股份有限公司 Automobile burglar authentication method, keyless entry activation system and antitheft Verification System
CN107729757A (en) * 2016-08-10 2018-02-23 福特全球技术公司 Software authentication before software upgrading

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9865112B2 (en) * 2016-06-03 2018-01-09 Volkswagen Aktiengesellschaft Apparatus, system and method for dynamic identification for vehicle access
US10369964B2 (en) * 2017-01-10 2019-08-06 The Mitre Corporation Keyless entry system security enhancement

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729915A (en) * 2012-10-10 2014-04-16 株式会社东海理化电机制作所 Electronic key registration system and method
CN104118392A (en) * 2013-04-28 2014-10-29 广州汽车集团股份有限公司 Engine anti-theft authentication method and device of engine anti-theft system
CN104917745A (en) * 2014-03-13 2015-09-16 通用汽车环球科技运作有限责任公司 Controlling access to personal information stored in a vehicle using a cryptographic key
CN107113167A (en) * 2014-12-12 2017-08-29 Kddi株式会社 Managing device, key generating device, vehicle, maintenance tool, management system, management method and computer program
WO2016208227A1 (en) * 2015-06-22 2016-12-29 Kddi株式会社 Management system, vehicle, management device, vehicle-mounted computer, management method, and computer program
CN106059754A (en) * 2016-06-23 2016-10-26 北京汽车股份有限公司 Vehicle data processing method and system, and devices
CN106155043A (en) * 2016-07-28 2016-11-23 北京新能源汽车股份有限公司 Vehicle data acquisition methods, device and equipment
CN107729757A (en) * 2016-08-10 2018-02-23 福特全球技术公司 Software authentication before software upgrading
CN106780879A (en) * 2016-12-12 2017-05-31 大陆汽车电子(长春)有限公司 Data handling system based on keyless entry starter
CN107610278A (en) * 2017-07-31 2018-01-19 宁波远景汽车零部件有限公司 Intelligent key learning method and system
CN107640125A (en) * 2017-08-30 2018-01-30 北京新能源汽车股份有限公司 Automobile burglar authentication method, keyless entry activation system and antitheft Verification System

Also Published As

Publication number Publication date
CN109150514A (en) 2019-01-04

Similar Documents

Publication Publication Date Title
CN109150514B (en) Key writing method and device
CN109624919B (en) Vehicle anti-theft system configuration method, computer-readable storage medium, and terminal
US10268557B2 (en) Network monitoring device, network system, and computer program product
US10491392B2 (en) End-to-end vehicle secure ECU unlock in a semi-offline environment
CN109788033B (en) Unmanned vehicle remote debugging method, device and system and storage medium
US9602487B2 (en) Method for the protected transmission of data
WO2022078193A1 (en) Vehicle control method and apparatus, and storage medium
CN113645590B (en) Method, device, equipment and medium for remotely controlling vehicle based on encryption algorithm
CN112969159B (en) Vehicle control method and vehicle remote control driving system
CN112559003A (en) Domain controller software upgrading method and device and domain controller
CN112148312A (en) Firmware upgrading management method, device, equipment and medium for electronic controller
CN108664012A (en) A kind of detection method of electric booster steering system controller, device and equipment
CN111746464B (en) Matching code generation method and device for anti-theft verification
CN113039747A (en) Authentication system and authentication method
CN115460561A (en) Vehicle control device, vehicle control method, and storage medium
CN113276801B (en) Vehicle anti-theft identification matching method and system
CN115782814A (en) Method and device for unlocking vehicle in non-contact manner
CN114785557A (en) Vehicle symmetric key distribution system, method and storage medium
US20240112508A1 (en) Vehicle wake-up from a diagnostic connector through access control
CN113138591B (en) Control method and device of vehicle safety factor, control equipment and automobile
CN115447533B (en) NFC key binding method and device, binding equipment and storage medium
US20240036878A1 (en) Method for booting an electronic control unit
JP2014021617A (en) Authentication device, and authentication system for vehicles
CN116339178A (en) Method and equipment for safely brushing Electronic Control Unit (ECU)
CN115113555A (en) Vehicle remote control method and device and vehicle

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant