CN116360825A - Upgrading method, device, equipment and storage medium of vehicle key - Google Patents

Upgrading method, device, equipment and storage medium of vehicle key Download PDF

Info

Publication number
CN116360825A
CN116360825A CN202310351863.2A CN202310351863A CN116360825A CN 116360825 A CN116360825 A CN 116360825A CN 202310351863 A CN202310351863 A CN 202310351863A CN 116360825 A CN116360825 A CN 116360825A
Authority
CN
China
Prior art keywords
key
vehicle
authentication
upgrade
upgrading
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.)
Pending
Application number
CN202310351863.2A
Other languages
Chinese (zh)
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.)
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Zhejiang Zeekr Intelligent Technology 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 Zhejiang Geely Holding Group Co Ltd, Zhejiang Zeekr Intelligent Technology Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202310351863.2A priority Critical patent/CN116360825A/en
Publication of CN116360825A publication Critical patent/CN116360825A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application provides a method, a device, equipment and a storage medium for upgrading a vehicle key, wherein the method comprises the following steps: the terminal equipment responds to the physical key upgrading operation of a user, and establishes wireless connection with a physical key to be upgraded; after establishing wireless connection with a physical key, carrying out security authentication on the physical key through an authentication parameter obtained in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key; after the security authentication with the physical key is passed, a key upgrade package which is downloaded to the local in advance and used for key security upgrade is sent to the physical key through wireless connection. The physical key is upgraded through the terminal equipment of the user, the user does not need to go to a 4S store to be upgraded by a professional, key upgrading steps are reduced, user experience is improved, the physical key is safely authenticated by using authentication parameters which are sent to the terminal equipment in advance by a trusted vehicle, and the security of key upgrading is improved.

Description

Upgrading method, device, equipment and storage medium of vehicle key
Technical Field
The present disclosure relates to the field of vehicle security technologies, and in particular, to a method, an apparatus, a device, and a storage medium for upgrading a vehicle key.
Background
With the intellectualization of vehicles, the functions of the keys of the vehicles are more and more complex, and the key software upgrade is a normal state. The key upgrade may be upgraded using wired or wireless means. In a wired upgrading mode, special equipment is needed to conduct cable connection on the key and even conduct upgrading after disassembling the key; and the wireless upgrading mode uses special software to upgrade through a wireless interface of a key.
In the existing key upgrading scheme, special upgrading software is usually required to operate, the software is not bound with a user or a vehicle, the user and the vehicle cannot be authenticated, and the safety of key upgrading is reduced; some operators still need to be specialized to operate, the user experience is poor, and meanwhile, if the operators are not trusted, illegal software is possibly used to bypass an authentication system in upgrading, so that the safety is more difficult to ensure.
Therefore, how to improve the security of vehicle key upgrades is a highly desirable problem.
Disclosure of Invention
The application provides a vehicle key upgrading method, device, equipment and storage medium, which are used for improving the safety of a vehicle key upgrading process.
In a first aspect, the present application provides a method for upgrading a vehicle key, the method comprising:
Responding to the physical key upgrading operation of a user, and establishing wireless connection with a physical key to be upgraded;
after wireless connection is established between the physical key and the vehicle, safety authentication is carried out on the physical key through authentication parameters acquired in advance, wherein the authentication parameters are generated by the vehicle corresponding to the physical key;
after the security authentication with the physical key is passed, a key upgrade package is sent to the physical key through the wireless connection, wherein the key upgrade package is a file which is downloaded to the local in advance and used for key security upgrade.
With reference to the first aspect, in one possible implementation manner, before the responding to the physical key upgrade operation of the user and establishing a wireless connection with the physical key to be upgraded, the method further includes:
receiving a vehicle key version upgrade notification, wherein the vehicle key version upgrade notification is used for notifying a user that the version of the vehicle key needs to be upgraded;
and downloading the key upgrade package from a server according to the vehicle key version upgrade notice.
With reference to the first aspect, in one possible implementation manner, the receiving a vehicle key version upgrade notification includes:
Receiving the vehicle key version upgrading notification sent by the vehicle;
or alternatively, the process may be performed,
and receiving the vehicle key version upgrading notification sent by the server.
With reference to the first aspect, in a possible implementation manner, the method further includes:
and receiving the authentication parameters sent by the vehicle.
In a second aspect, the present application further provides a method for upgrading a vehicle key, applied to a vehicle, where the method includes:
generating authentication parameters according to a preset authentication parameter generation rule, wherein the authentication parameters are used for carrying out security authentication when the physical key of the vehicle is upgraded;
and respectively sending the authentication parameters to the terminal equipment and the physical key.
With reference to the second aspect, in a possible implementation manner, the method further includes:
and after receiving the vehicle key version upgrading notification sent by the server, sending the vehicle key version upgrading notification to the terminal equipment and/or displaying the vehicle key version upgrading notification on an interface of a vehicle machine.
In a third aspect, the present application further provides a method for upgrading a vehicle key, applied to a physical key of a vehicle, where the method includes:
Responding to the physical key upgrading operation of a user, and establishing wireless connection with terminal equipment;
after establishing wireless connection with the terminal equipment, carrying out security authentication with the terminal equipment through an authentication parameter acquired in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
and after the security authentication with the terminal equipment is passed, receiving a key upgrade packet sent by the terminal equipment through the wireless connection, and carrying out version upgrade according to the key upgrade packet.
With reference to the third aspect, in one possible implementation manner, the method further includes:
and receiving the authentication parameters sent by the vehicle.
In a fourth aspect, the present application further provides an upgrade apparatus for a vehicle key, the apparatus including:
the wireless connection module is used for responding to the physical key upgrading operation of a user and establishing wireless connection with a physical key to be upgraded;
the safety authentication module is used for carrying out safety authentication on the physical key through an authentication parameter obtained in advance after wireless connection is established between the safety authentication module and the physical key, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
And the sending module is used for sending a key upgrade package to the physical key through the wireless connection after the safety certification between the key upgrade package and the physical key is passed, wherein the key upgrade package is a file which is downloaded to the local in advance and used for key safety upgrade.
In a fifth aspect, the present application further provides an upgrade apparatus for a vehicle key, the apparatus including:
the system comprises an authentication parameter generation module, a verification module and a verification module, wherein the authentication parameter generation module is used for generating authentication parameters according to a preset authentication parameter generation rule, and the authentication parameters are used for carrying out safety authentication when the physical key of the vehicle is upgraded;
and the sending module is used for respectively sending the authentication parameters to the terminal equipment and the physical key.
In a sixth aspect, the present application further provides an upgrade apparatus for a vehicle key, the apparatus including:
the wireless connection module is used for responding to the physical key upgrading operation of the user and establishing wireless connection with the terminal equipment;
the safety authentication module is used for carrying out safety authentication on the terminal equipment through an authentication parameter obtained in advance after wireless connection is established between the terminal equipment and the terminal equipment, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
And the software upgrading module is used for receiving a key upgrading packet sent by the terminal equipment through the wireless connection after the security authentication between the terminal equipment and the terminal equipment passes, and carrying out version upgrading according to the key upgrading packet.
In a seventh aspect, the present application further provides an electronic device, including:
a processor, a memory communicatively coupled to the processor, and a communication interface to interact with other devices;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of upgrading a vehicle key according to any one of the first to third aspects.
In an eighth aspect, the present application further provides a computer-readable storage medium having stored therein computer-executable instructions, which when executed by a processor, are configured to implement the method for upgrading a vehicle key according to any one of the first to third aspects.
The application provides a method, a device, equipment and a storage medium for upgrading a vehicle key, wherein wireless connection with a physical key to be upgraded is established through a terminal device in response to physical key upgrading operation of a user; after establishing wireless connection with a physical key, carrying out security authentication on the physical key through an authentication parameter obtained in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key; after the security authentication with the physical key is passed, a key upgrade package which is downloaded to the local in advance and used for key security upgrade is sent to the physical key through wireless connection. The physical key is upgraded through the terminal equipment of the user, the user does not need to go to a 4S store to be upgraded by a professional, key upgrading steps are reduced, user experience is improved, the physical key is safely authenticated by using the authentication parameters sent to the terminal equipment by a trusted third party, namely the vehicle, and key upgrading safety is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is an application scenario schematic diagram of an upgrade method of a vehicle key according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first embodiment of a method for upgrading a vehicle key according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a second embodiment of a method for upgrading a vehicle key according to the embodiment of the present application;
fig. 4 is a schematic flow chart of a third embodiment of a method for upgrading a vehicle key according to the embodiment of the present application;
fig. 5 is a schematic flow chart of a fourth embodiment of a method for upgrading a vehicle key according to the embodiment of the present application;
fig. 6 is a flowchart illustrating an example of a method for upgrading a vehicle key according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an embodiment one of an upgrade apparatus for a vehicle key according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a second embodiment of an upgrade apparatus for a vehicle key according to the embodiment of the present application;
fig. 9 is a schematic structural diagram of a third embodiment of an upgrade apparatus for a vehicle key according to the embodiment of the present application;
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Specific embodiments thereof have been shown by way of example in the drawings and will herein be described in more detail. These drawings and the written description are not intended to limit the scope of the inventive concepts in any way, but to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as detailed in the accompanying claims.
The background art to which the present application relates is explained first:
with the intellectualization of vehicles and the complexity of key functions of vehicles, software upgrading of keys has become a normal state. Existing key upgrade schemes typically require the owner to take the key to a special after-market maintenance point, e.g., a 4S store (Automobile Sales Service Shop), where a professional in the 4S store can upgrade the key using a special burning device.
The key is upgraded in a 4S shop, and the 4S shop can use a wired or wireless mode:
the wired upgrade mode uses special cables, even hardware clamps and special software for upgrade, and some even need to disassemble keys.
In a wireless upgrading mode, the wireless interface of the key can be used for upgrading, and the wireless interface is used for upgrading through special hardware and special software or common mobile phones and special software.
Whichever upgrade mode requires the owner to bring the key to the 4S store and requires professional personnel to operate, reducing user experience.
At the same time, because of the risk of being unreliable for operators, the security of key upgrade has a certain risk of being attacked.
Under normal conditions, the upgrading process needs to authenticate the validity of the special software, authenticate the personnel operating the professional software, and authenticate the upgrading package by the authenticated personnel operating the legal software. However, if the operator is not trusted, the user and the vehicle may not be authenticated because the authentication system is bypassed by an illegal mechanism using illegal software and dedicated upgrade software is not bound to the user or the vehicle.
Based on the above problems, the inventor of the present application found in the research process of the related technical field that, by upgrading the key by the dedicated software in the user terminal device, the terminal device performs security verification with the key by the authentication parameter distributed by the third party, i.e. the vehicle, where both the terminal device and the key are trusted before the upgrade, so that the risk caused by the unauthentication of the operator can be avoided, and the security authentication mechanism of the authentication of the third party increases the security of the key upgrade. Based on the method, the device, the equipment and the storage medium for upgrading the vehicle key are provided.
Fig. 1 is an application scenario schematic diagram of an upgrade method of a vehicle key according to an embodiment of the present application. As shown in fig. 1, the application scenario at least includes: a vehicle key, a user's terminal device, a vehicle and a server. The wireless communication can be carried out among any two of the user's terminal equipment, the vehicle and the server, and the wireless communication can be carried out among the vehicle key, the user's terminal equipment and the vehicle, wherein the key and the user's terminal equipment support the same wireless interface, and the wireless interface can be Bluetooth communication based on Ultra-low power consumption application Bluetooth protocol, wireless communication based on other Bluetooth protocols, wireless fidelity (Wireless Fidelity, wi-Fi), ultra-wideband (UWB) or other similar point-to-point wireless communication. The terminal equipment of the user can be a mobile phone, a tablet personal computer, intelligent wearing equipment and the like.
In this application, the vehicle key, the key, and the physical key all refer to the same entity.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of an embodiment one of a method for upgrading a vehicle key according to an embodiment of the present application, where as shown in fig. 2, the method for upgrading a vehicle key is applied to a terminal device of a user, and may specifically include the following steps:
s101, responding to the physical key upgrading operation of a user, and establishing wireless connection with a physical key to be upgraded.
In this step, when the user needs to upgrade the vehicle key, the terminal device used for upgrade and the key to be upgraded are placed in a preset range, and special software of the terminal device is opened, the user clicks an upgrade button in the terminal device, the terminal device responds to the key operation of the user to attempt to establish wireless connection with the vehicle key, specifically, the wireless connection is established in such a way that the user terminal device listens to a specific wireless signal broadcasted by the key, when the specific wireless signal is intercepted, the wireless connection is established with the signal source, and accordingly, the broadcast of the specific wireless signal detected can be triggered by pressing a specific key on the key or pressing a key in a specific manner. Or the terminal equipment of the user broadcasts a specific wireless signal, and the key monitors to complete the chain establishment of the terminal equipment and the key. The specific wireless signal may be a bluetooth low energy broadcast message containing specific content, and after the terminal device receives the specific wireless signal, the terminal device may identify that the broadcasting device is a physical key to be upgraded according to the specific content in the wireless signal, where the specific content may be predefined by a manufacturer, or other modes, and the patent is not limited.
It should be noted that, the wireless connection is a secure session channel established through a wireless interface, which may be a secure session channel generated based on instant running (Just Works) pairing of bluetooth protocol Or Out of Band (OOB) pairing, etc., or a secure session channel customized by a manufacturer on a bluetooth protocol stack, or a secure session channel established based on other point-to-point wireless interfaces such as wireless fidelity (Wireless Fidelity, wi-Fi, ultra Wide Band, UWB, etc.).
S102, after wireless connection is established between the vehicle and the physical key, safety authentication is carried out on the physical key through an authentication parameter which is obtained in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key, and the authentication parameter comprises an encryption and decryption algorithm and an algorithm key.
In this step, after the terminal device establishes a wireless connection with the key, security authentication needs to be performed on the identity of the key. The terminal equipment and the key acquire authentication parameters of the terminal equipment and the key in communication from the corresponding vehicle in advance and store the authentication parameters, after the wireless connection between the terminal equipment and the key is established, the terminal equipment receives key identification information which is transmitted by the key and is encrypted by an encryption algorithm and the key, the terminal equipment decrypts the encrypted key identification information according to an encryption and decryption algorithm and a corresponding key which are transmitted by the stored vehicle, and then performs identity authentication on the decrypted key identification.
It should be noted that, the encryption and decryption algorithm used between the key and the terminal device may be one of a plurality of encryption algorithms, for example: advanced encryption standard (Advanced Encryption Standard, abbreviated as AES) algorithm, data encryption standard (Data Encryption Standard, abbreviated as DES) algorithm, elliptic curve (SM 2) algorithm, RSA algorithm, etc. When the AES algorithm is used, at least one Key (Key) value and one initial vector (Initialization Vector, IV) value are included in the algorithm parameters. The encryption and decryption algorithm and the corresponding key can be symmetrical or asymmetrical in the authentication parameters sent by the vehicle and received by the terminal device and the key. In this embodiment, the encryption and decryption algorithm and the key type adopted by the terminal device and the key are not limited.
Optionally, after the security authentication of the identity is completed, the electric quantity information of the terminal device and the key needs to be verified, the terminal device receives the electric quantity information sent by the key and collects the electric quantity information of the terminal device, and compares the electric quantity information with the preset upgradeable electric quantity, and when the electric quantity of the terminal device or the key is smaller than the preset upgradeable electric quantity, the terminal device reminds the user.
And S103, after the safety certification between the key and the physical key is passed, transmitting a key upgrade package to the physical key through wireless connection, wherein the key upgrade package is a file which is downloaded to the local in advance and used for key safety upgrade.
In this step, after the security authentication is completed between the terminal device and the key, the terminal device needs to send a key upgrade package required for the key upgrade to the key, where the key upgrade package is an upgrade file that the terminal device downloads to the local from the vehicle factory server in advance. Optionally, the terminal device encrypts the key upgrade package through a stored encryption algorithm and a key, and sends the encrypted upgrade package to the key through a wireless transmission mode. Optionally, the upgrade package may be signed, and the specific mechanism of signing is not limited in this patent.
The embodiment provides an upgrading method of a vehicle key, which is used for responding to the upgrading operation of a physical key of a user to establish wireless connection with the physical key to be upgraded; after establishing wireless connection with a physical key, carrying out security authentication on the physical key through an authentication parameter obtained in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key; after the security authentication with the physical key is passed, a key upgrade package which is downloaded to the local in advance and used for key security upgrade is sent to the physical key through wireless connection. The physical key is upgraded through the terminal equipment of the user, the user does not need to upgrade to a 4S store by a professional, the user experience is improved, the physical key is safely authenticated by utilizing authentication parameters which are sent to the terminal equipment in advance by the vehicle, including encryption and decryption algorithms, keys and the like, the vehicle is trusted by the terminal equipment and the key, and the key upgrading safety is improved.
Fig. 3 is a schematic flow chart of a second embodiment of a method for upgrading a vehicle key according to the embodiment of the present application, as shown in fig. 3, before a wireless connection is established with a physical key to be upgraded in response to a physical key upgrading operation of a user on the basis of the first embodiment, the method further includes:
s201, receiving a vehicle key version upgrading notification, wherein the vehicle key version upgrading notification is used for notifying a user that the version of a vehicle key needs upgrading.
In this step, before upgrading the key, the user needs to know whether the key version needs to be updated or not, and therefore, the terminal device receives a notification of the update of the vehicle key version, which is used to prompt the user that the version of the vehicle key has been updated.
Alternatively, the vehicle key version upgrade notification received by the terminal device may be a vehicle key version upgrade notification pushed from the server to the vehicle and then sent from the vehicle, or a vehicle key version upgrade notification sent from the server.
S202, downloading a key upgrade package from a server according to the vehicle key version upgrade notice.
In this step, after receiving the vehicle key version upgrade notification, the user needs to download the key upgrade package to the terminal device. The terminal equipment can actively initiate a downloading request to the vehicle factory server, or initiate the downloading request in a pushing mode by the vehicle factory server, and the terminal equipment downloads the key upgrade package to the local.
Optionally, in response to a physical key upgrade operation of the user, the terminal device further receives an authentication parameter sent by the vehicle before establishing a wireless connection with the physical key to be upgraded.
In this step, in order to ensure that a secure session can be performed between the user terminal device and the key, the vehicle generates an authentication parameter and transmits the authentication parameter to the user terminal device and the key, and the terminal device receives the authentication parameter. Specifically, after the user terminal device and the vehicle establish a secure session, the terminal device receives authentication parameters sent by the vehicle. In a specific implementation manner, the terminal device receives the authentication parameters generated by the vehicle and comprises an encryption and decryption algorithm and a key, and wireless transmission is carried out between the encryption and decryption algorithm and the key and between the key and the key. By the method, the terminal equipment receives the authentication parameters sent by the vehicle under the condition of establishing the secure connection, so that the authentication parameters received by the terminal equipment can be prevented from being stolen.
The embodiment provides a vehicle key upgrading method, wherein a terminal device receives a vehicle key version upgrading notification, and the vehicle key version upgrading notification is used for notifying a user that the version of a vehicle key needs to be upgraded; and downloading a key upgrade package from the server according to the vehicle key version upgrade notice. According to the scheme, the terminal equipment of the user is utilized to receive the version upgrading notification and download the key upgrading packet, so that the user can obtain the upgrading information more conveniently, and the key is upgraded through the terminal equipment of the user, so that the safety risk of upgrading is reduced.
Fig. 4 is a schematic flow chart of a third embodiment of an upgrade method of a vehicle key provided in the embodiment of the present application, where, as shown in fig. 4, the upgrade method of a vehicle key is applied to a vehicle, and the method includes:
s301, generating authentication parameters according to a preset authentication parameter generation rule, wherein the authentication parameters are used for carrying out security authentication when the physical key of the vehicle is upgraded.
In this step, the user needs to upgrade the key through the terminal device, but the terminal device and the key need to be securely authenticated, and the transmitted data need to be encrypted, so that the terminal device and the key need to have corresponding authentication parameters including encryption and decryption algorithms, keys and the like. Firstly, an authentication parameter generation algorithm is preset in the vehicle, and authentication parameters can be generated according to an authentication parameter generation rule, wherein the authentication parameters are used for safety authentication when a physical key of the vehicle is upgraded. The encryption and decryption algorithm can be one of an advanced encryption standard (Advanced Encryption Standard, abbreviated as AES) algorithm, a data encryption standard (Data Encryption Standard, abbreviated as DES) algorithm, an RSA algorithm and the like, and is not particularly limited.
The authentication parameters may be produced when the vehicle leaves the factory, may be produced when a key is created, or may be produced when the vehicle system is upgraded, and the present application is not limited thereto.
Optionally, the authentication parameters are regenerated after the key version is upgraded, specifically, the vehicle detects the key version upgrade and regenerates new authentication parameters through an authentication parameter generation algorithm.
S302, the authentication parameters are respectively sent to the terminal equipment and the physical key.
In the step, after the authentication parameters are generated by the vehicle, the terminal equipment of the user is connected to the vehicle through a session-based security channel for the first time and is subjected to security authentication, the vehicle sends the authentication parameters to the terminal equipment of the user, wherein the security authentication between the vehicle and the user terminal equipment is performed through a key or a certificate distributed in advance by a vehicle factory server, so that the security of the session channel between the terminal equipment and the vehicle is determined. When the physical key of the vehicle is connected to the vehicle through the session-based security channel for the first time after the vehicle authentication parameters are generated, the vehicle sends the authentication parameters to the physical key, wherein the security authentication between the vehicle and the key is performed through a key preset by a vehicle manufacturer, so that the security of the session channel between the vehicle and the key is determined.
Optionally, after the vehicle verifies the identity of the terminal device, inquiring whether the terminal device has authentication parameters required by security authentication when the key is upgraded, and when the terminal device does not have the authentication parameters, sending the authentication parameters to the terminal device. After the vehicle verifies the identity of the key, inquiring whether the key has authentication parameters required by security authentication when the key is upgraded, and sending the authentication parameters to the key when the key does not have the authentication parameters.
Optionally, after receiving the vehicle key version upgrade notification sent by the server, the vehicle key version upgrade notification is sent to the terminal device and/or displayed on an interface of the vehicle machine.
Specifically, after the vehicle receives the key version upgrade notification, three schemes are available for facilitating the user to obtain the key upgrade notification:
1. after the connection between the vehicle and the user terminal device is established, a key version upgrade notification is sent to the user terminal device.
2. And displaying the vehicle key version upgrade notice on an interface of the vehicle machine to prompt a user that the key needs to be upgraded.
3. And displaying the vehicle key version upgrading notice on an interface of the vehicle machine, and after the connection between the vehicle and the user terminal equipment is established, transmitting the key version upgrading notice to the user terminal equipment.
The embodiment provides a vehicle key upgrading method, a vehicle generates authentication parameters according to preset authentication parameter generation rules, the authentication parameters are used for carrying out safety authentication when a physical key of the vehicle is upgraded, and then the authentication parameters are respectively sent to a terminal device and the physical key. By the method, conditions for carrying out safety authentication and safety transmission can be provided between the terminal equipment of the user corresponding to the vehicle and the key of the vehicle.
Fig. 5 is a flow chart of a fourth embodiment of an upgrade method of a vehicle key provided in the embodiment of the present application, where as shown in fig. 5, the upgrade method of a vehicle key is applied to a physical key of a vehicle, and the method includes:
s401, responding to the physical key upgrading operation of the user, and establishing wireless connection with the terminal equipment.
In this step, when the user needs to upgrade the vehicle key, the user needs to place the terminal device used for upgrade and the key to be upgraded in a preset range, and start the key upgrade operation, where the key upgrade operation may be triggered by long-pressing a key. The key attempts to establish a wireless connection with the terminal device in response to a key operation of the user, and in particular, the key broadcasts a specific wireless signal or the key listens to the specific wireless signal and then establishes a wireless connection with the signal source.
It should be noted that, the wireless connection is a secure session channel established through a wireless interface, which may be a secure session channel generated based on instant running (Just Works) pairing of bluetooth protocol Or Out of Band (OOB) pairing, etc., or a secure session channel customized by a manufacturer on a bluetooth protocol stack, or a secure session channel established based on other point-to-point wireless interfaces such as wireless fidelity (Wireless Fidelity, wi-Fi, ultra Wide Band, UWB, etc.).
Optionally, in response to a physical key upgrade operation by the user, the key also receives authentication parameters sent by the vehicle before establishing a wireless connection with the terminal device.
S402, after wireless connection is established between the terminal equipment and the terminal equipment, safety authentication is carried out on the terminal equipment through authentication parameters obtained in advance, wherein the authentication parameters are generated by a vehicle corresponding to the physical key.
In this step, after the terminal device establishes a wireless connection with the key, security authentication needs to be performed on the key. And the terminal equipment decrypts the encrypted key identification information according to the stored key and encryption and decryption algorithm sent by the vehicle, and then performs identity authentication on the decrypted key identification.
S403, after the safety authentication with the terminal equipment is passed, receiving a key upgrade package sent by the terminal equipment through wireless connection, and carrying out version upgrade according to the key upgrade package.
In the step, after the security authentication is completed between the terminal equipment and the key, the key receives the encrypted key upgrade package sent by the terminal equipment, decrypts according to the key sent by the vehicle in advance to obtain the key upgrade package, and carries out version upgrade according to the key upgrade package.
The embodiment provides a method for upgrading a vehicle key, by which the security of an upgrading process can be ensured by performing security authentication with terminal equipment through authentication parameters obtained in advance after wireless connection is established between the key and the terminal equipment.
Fig. 6 is a flowchart of an example of a method for upgrading a vehicle key according to an embodiment of the present application, as shown in fig. 6, where the example includes the following steps:
s501, the vehicle sends the generated authentication parameters to the user terminal equipment.
In this step, the vehicle creates an authentication parameter according to the authentication parameter generation rule when a key is created. After the authentication parameters are generated, when the terminal equipment is connected to the vehicle through the secure session channel, the vehicle and the terminal equipment perform security authentication based on a key or a certificate distributed in advance by a vehicle manufacturer, and the vehicle sends the generated authentication parameters to the terminal equipment of the user after the security authentication is passed.
S502, the vehicle sends the generated authentication parameters to the key.
In this step, after the vehicle generates the authentication parameters, when a key is connected to the vehicle through the secure session channel, the vehicle and the terminal device perform security authentication based on a key or certificate preset by the vehicle manufacturer, and after the security authentication is passed, the vehicle transmits the generated authentication parameters to the key, and the key stores the generated authentication parameters.
S503, the upgrade server pushes the version notification to the user terminal equipment.
In the step, after the upgrade server of the vehicle factory obtains the upgrade key version, the upgrade server pushes the version upgrade notification to the terminal equipment of the user.
S504, the terminal equipment downloads a key upgrade package from the upgrade server.
In this step, the user logs in the upgrade server of the vehicle factory through the terminal device, and the vehicle factory server performs identity verification on the terminal device through the mobile phone number of the user and the short message verification code or other modes. And after the authentication is passed, the terminal equipment downloads the key upgrade package from the upgrade server.
S505, the terminal equipment and the key are placed together, and wireless connection is established.
In this step, when the user needs to upgrade the key, the terminal device and the key are placed together, and the upgrade start button is clicked on the dedicated software of the terminal device, so that the terminal device starts to listen to the specific wireless signal in response to the user operation. The user presses a certain key preset for a specific duration to broadcast a wireless signal of a specific content, wherein the format of a broadcast packet can be referred to a Bluetooth related protocol, and the patent is not limited. The terminal equipment detects the specific wireless signal broadcast by the key and establishes wireless connection with the key.
S506, the terminal equipment and the key perform security authentication through authentication parameters sent by the vehicle in advance.
In this step, after the terminal device establishes a wireless connection with the key, the terminal device needs to perform security authentication on the key identity information before upgrading, and the key sends the identity authentication information to the terminal device, where the identity authentication information includes a key identifier encrypted by an authentication parameter, and the authentication parameter is generated by the vehicle and sent to the key. The terminal equipment receives the identity authentication information, decrypts the identity authentication information through authentication parameters sent by the vehicle in advance, and verifies the key identity information.
S507, the terminal equipment sends the key upgrade package to the key for upgrade.
In the step, after the key identity information is successfully verified, the terminal equipment sends a key upgrading packet to the key, and the key is upgraded based on the upgrading packet.
The embodiment provides a key upgrading method, which upgrades the key through terminal equipment of a user, reduces complicated upgrading processes, carries out safety authentication by distributing authentication parameters in advance through a vehicle before upgrading, and improves the safety of the upgrading process.
Fig. 7 is a schematic structural diagram of an embodiment one of an upgrade apparatus for a vehicle key according to an embodiment of the present application, and as shown in fig. 7, the upgrade apparatus 200 for a vehicle key includes:
A wireless connection module 211 for establishing a wireless connection with a physical key to be upgraded in response to a physical key upgrade operation of a user;
the security authentication module 212 is configured to perform security authentication with the physical key through an authentication parameter obtained in advance after establishing a wireless connection with the physical key, where the authentication parameter is generated by a vehicle corresponding to the physical key;
and the sending module 213 is configured to send a key upgrade package to the physical key through the wireless connection after the security authentication with the physical key passes, where the key upgrade package is a file downloaded to the local in advance for key security upgrade.
Optionally, the apparatus further includes:
a receiving module 214, configured to receive a vehicle key version upgrade notification, where the vehicle key version upgrade notification is used to notify a user that a version of the vehicle key needs to be upgraded;
and a downloading module 215, configured to download the key upgrade package from a server according to the vehicle key version upgrade notification.
Optionally, the receiving module is specifically configured to:
receiving the vehicle key version upgrading notification sent by the vehicle;
Or alternatively, the process may be performed,
and receiving the vehicle key version upgrading notification sent by the server.
Optionally, the receiving module is further configured to:
and receiving the authentication parameters sent by the vehicle.
The upgrade apparatus for a vehicle key provided in this embodiment is configured to execute the technical scheme on the terminal device side of the user in any of the above method embodiments, and its implementation principle and technical effect are similar, and will not be described herein.
Fig. 8 is a schematic structural diagram of a second embodiment of an upgrade apparatus for a vehicle key according to the embodiment of the present application, and as shown in fig. 8, the upgrade apparatus 300 for a vehicle key includes:
an authentication parameter generation module 311, configured to generate an authentication parameter according to a preset authentication parameter generation rule, where the authentication parameter is used for performing security authentication when a physical key of the vehicle is upgraded;
and a sending module 312, configured to send the authentication parameters to the terminal device and the physical key respectively.
Optionally, the apparatus further includes:
and the notification module 313 is configured to send the vehicle key version upgrade notification to the terminal device and/or display the vehicle key version upgrade notification on an interface of the vehicle after receiving the vehicle key version upgrade notification sent by the server.
The upgrade device of the vehicle key provided in this embodiment is configured to execute the technical scheme of the vehicle in any one of the method embodiments, and its implementation principle and technical effect are similar, and will not be described herein.
Fig. 9 is a schematic structural diagram of a third embodiment of an upgrade apparatus for a vehicle key according to the embodiment of the present application, and as shown in fig. 9, an upgrade apparatus 400 for a key includes:
a wireless connection module 411, configured to establish a wireless connection with a terminal device in response to a physical key upgrade operation of a user;
a security authentication module 412, configured to perform security authentication with the terminal device through an authentication parameter obtained in advance after establishing a wireless connection with the terminal device, where the authentication parameter is generated by a vehicle corresponding to the physical key;
and the software upgrading module 413 is used for receiving a key upgrading packet sent by the terminal equipment through the wireless connection after the security authentication between the terminal equipment and the terminal equipment is passed, and carrying out version upgrading according to the key upgrading packet.
Optionally, the apparatus further includes:
a receiving module 414, configured to receive the authentication parameter sent by the vehicle.
The upgrade device of the vehicle key provided in this embodiment is configured to execute the technical scheme of the key side in any of the above method embodiments, and its implementation principle and technical effect are similar, and will not be described herein.
Fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, as shown in fig. 10, the electronic device 500 includes:
a processor 511, a memory 512 communicatively coupled to the processor, and a communication interface 513 to interact with other devices;
the memory 512 stores computer-executable instructions;
the processor executes the computer program instructions stored in the memory to implement the method for upgrading a vehicle key as described in any of the method embodiments above.
When implemented as a server, the electronic device needs to communicate wirelessly with a user's terminal device and with a vehicle.
When the electronic device is implemented as a vehicle, it is necessary to perform wireless communication with a user's terminal device, a server, and a key.
When the electronic device is implemented as a terminal device, wireless communication is required between the electronic device and a vehicle, a server, and a key.
When the electronic device is implemented as a key, wireless communication is required between the electronic device and the vehicle, the server and the terminal device.
Alternatively, the above-mentioned devices of the electronic apparatus 500 may be connected by a system bus.
The memory 512 may be a separate memory unit or may be a memory unit integrated in the processor 511. The number of processors 511 is one or more.
Optionally, the electronic device may further be provided with a display for displaying the processing result of the processor and interacting with a man-machine. In some embodiments, the display may be a front panel of the electronic device; in other embodiments, the display may be a flexible display screen, or even the display may be configured as a non-rectangular irregularly patterned display screen, i.e., a contoured screen. The display may be made of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
It is to be appreciated that the processor 511 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules within a processor.
The system bus may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The system bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The memory may include random access memory (random access memory, RAM) and may also include non-volatile memory (NVM), such as at least one disk memory.
All or part of the steps for implementing the method embodiments described above may be performed by hardware associated with program instructions. The foregoing program may be stored in a readable memory. The program, when executed, performs steps including the method embodiments described above; and the aforementioned memory (storage medium) includes: read-only memory (ROM), RAM, flash memory, hard disk, solid state disk, magnetic tape, floppy disk, optical disk (optical disc), and any combination thereof.
The electronic device provided in the embodiment of the present application may be used to execute the method for upgrading the vehicle key in any one of the embodiments of the method, and its implementation principle and technical effects are similar and are not described herein again.
The present application also provides a computer-readable storage medium having stored therein computer-executable instructions that, when executed by a processor, are configured to implement a method of upgrading a vehicle key as in any of the foregoing method embodiments.
The computer readable storage medium described above may be implemented by any type of volatile or non-volatile memory device or combination thereof, such as static random access memory, electrically erasable programmable read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. A readable storage medium can be any available medium that can be accessed by a general purpose or special purpose computer.
Embodiments of the present application also provide a computer program product, where the computer program product includes a computer program, where the computer program is stored in a computer readable storage medium, and at least one processor may read the computer program from the computer readable storage medium, and when the at least one processor executes the computer program, the method for upgrading a vehicle key provided in any of the foregoing embodiments may be implemented.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the present application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

1. An upgrade method of a vehicle key, applied to a terminal device, is characterized in that the method comprises the following steps:
responding to the physical key upgrading operation of a user, and establishing wireless connection with a physical key to be upgraded;
after wireless connection is established between the physical key and the vehicle, safety authentication is carried out on the physical key through authentication parameters acquired in advance, wherein the authentication parameters are generated by the vehicle corresponding to the physical key;
after the security authentication with the physical key is passed, a key upgrade package is sent to the physical key through the wireless connection, wherein the key upgrade package is a file which is downloaded to the local in advance and used for key security upgrade.
2. The method of claim 1, wherein, in response to a physical key upgrade operation by a user, prior to establishing a wireless connection with a physical key to be upgraded, the method further comprises:
receiving a vehicle key version upgrade notification, wherein the vehicle key version upgrade notification is used for notifying a user that the version of the vehicle key needs to be upgraded;
and downloading the key upgrade package from a server according to the vehicle key version upgrade notice.
3. The method of claim 2, wherein the receiving a vehicle key version upgrade notification comprises:
receiving the vehicle key version upgrading notification sent by the vehicle;
or alternatively, the process may be performed,
and receiving the vehicle key version upgrading notification sent by the server.
4. A method according to any one of claims 1 to 3, further comprising:
and receiving the authentication parameters sent by the vehicle.
5. An upgrade method of a vehicle key, applied to a vehicle, is characterized in that the method comprises the following steps:
generating authentication parameters according to a preset authentication parameter generation rule, wherein the authentication parameters are used for carrying out security authentication when the physical key of the vehicle is upgraded;
and respectively sending the authentication parameters to the terminal equipment and the physical key.
6. The method of claim 5, wherein the method further comprises:
and after receiving the vehicle key version upgrading notification sent by the server, sending the vehicle key version upgrading notification to the terminal equipment and/or displaying the vehicle key version upgrading notification on an interface of a vehicle machine.
7. A method for upgrading a vehicle key, applied to a physical key of a vehicle, the method comprising:
responding to the physical key upgrading operation of a user, and establishing wireless connection with terminal equipment;
after establishing wireless connection with the terminal equipment, carrying out security authentication with the terminal equipment through an authentication parameter acquired in advance, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
and after the security authentication with the terminal equipment is passed, receiving a key upgrade packet sent by the terminal equipment through the wireless connection, and carrying out version upgrade according to the key upgrade packet.
8. The method of claim 7, wherein the method further comprises:
and receiving the authentication parameters sent by the vehicle.
9. An upgrade apparatus for a vehicle key, the apparatus comprising:
the wireless connection module is used for responding to the physical key upgrading operation of a user and establishing wireless connection with a physical key to be upgraded;
the safety authentication module is used for carrying out safety authentication on the physical key through an authentication parameter obtained in advance after wireless connection is established between the safety authentication module and the physical key, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
And the sending module is used for sending a key upgrade package to the physical key through the wireless connection after the safety certification between the key upgrade package and the physical key is passed, wherein the key upgrade package is a file which is downloaded to the local in advance and used for key safety upgrade.
10. An upgrade apparatus for a vehicle key, the apparatus comprising:
the system comprises an authentication parameter generation module, a verification module and a verification module, wherein the authentication parameter generation module is used for generating authentication parameters according to a preset authentication parameter generation rule, and the authentication parameters are used for carrying out safety authentication when the physical key of the vehicle is upgraded;
and the sending module is used for respectively sending the authentication parameters to the terminal equipment and the physical key.
11. An upgrade apparatus for a vehicle key, the apparatus comprising:
the wireless connection module is used for responding to the physical key upgrading operation of the user and establishing wireless connection with the terminal equipment;
the safety authentication module is used for carrying out safety authentication on the terminal equipment through an authentication parameter obtained in advance after wireless connection is established between the terminal equipment and the terminal equipment, wherein the authentication parameter is generated by a vehicle corresponding to the physical key;
And the software upgrading module is used for receiving a key upgrading packet sent by the terminal equipment through the wireless connection after the security authentication between the terminal equipment and the terminal equipment passes, and carrying out version upgrading according to the key upgrading packet.
12. An electronic device, comprising:
a processor, a memory communicatively coupled to the processor, and a communication interface to interact with other devices;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored in the memory to implement the method of upgrading a vehicle key according to any one of claims 1 to 8.
13. A computer readable storage medium having stored therein computer executable instructions which when executed by a processor are for implementing a method of upgrading a vehicle key according to any of claims 1 to 8.
CN202310351863.2A 2023-03-29 2023-03-29 Upgrading method, device, equipment and storage medium of vehicle key Pending CN116360825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310351863.2A CN116360825A (en) 2023-03-29 2023-03-29 Upgrading method, device, equipment and storage medium of vehicle key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310351863.2A CN116360825A (en) 2023-03-29 2023-03-29 Upgrading method, device, equipment and storage medium of vehicle key

Publications (1)

Publication Number Publication Date
CN116360825A true CN116360825A (en) 2023-06-30

Family

ID=86904513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310351863.2A Pending CN116360825A (en) 2023-03-29 2023-03-29 Upgrading method, device, equipment and storage medium of vehicle key

Country Status (1)

Country Link
CN (1) CN116360825A (en)

Similar Documents

Publication Publication Date Title
US11601809B2 (en) Method and system for updating certificate issuer public key, and related device
CN107888577B (en) Door lock firmware upgrading method, door lock, server, system and storage medium
EP2615856B1 (en) Information distribution method, information distribution system and in-vehicle terminal
EP1712992A1 (en) Updating of data instructions
US7330973B2 (en) Safety judgment method, safety judgment system, safety judgment apparatus, first authentication apparatus, and computer program product
CN108762791B (en) Firmware upgrading method and device
US10454706B2 (en) Transponder module and access module for activating and configuring such transponder module over a CAN bus
EP3893108A1 (en) Vehicle-mounted device upgrading method, and related apparatus
CN114637987B (en) Security chip firmware downloading method and system based on platform verification
JP2016139882A (en) Communication device, LSI, program and communication system
CN113099443A (en) Equipment authentication method, device, equipment and system
AU2015295563B2 (en) Transponder module and access module for activating and configuring such transponder module
CN113794734A (en) Vehicle-mounted CAN bus encryption communication method, control device and readable storage medium
CN110621014A (en) Vehicle-mounted equipment, program upgrading method thereof and server
CN107733652B (en) Unlocking method and system for shared vehicle and vehicle lock
CN111510448A (en) Communication encryption method, device and system in OTA (over the air) upgrade of automobile
JP2005202503A (en) Onboard information equipment, onboard equipment management system, method for distributing upgrade information of program of control unit of vehicle, and upgrade method and system for program of control unit of vehicle
US10333935B2 (en) Method and management server for revoking group server identifiers of compromised group servers
CN116419217B (en) OTA data upgrading method, system, equipment and storage medium
CN116360825A (en) Upgrading method, device, equipment and storage medium of vehicle key
CN112862994A (en) ETC anti-disassembly authentication method, ETC, vehicle-mounted equipment terminal and system
CN114391134A (en) Flashing processing method and related device
CN114710358B (en) Security authentication information acquisition method, device, vehicle, system and storage medium
US20240236674A1 (en) Method and System for Updating Certificate Issuer Public Key, and Related Device
CN118283597A (en) Vehicle upgrading method, storage medium, electronic equipment 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