CN115061710A - Software upgrading method and system for vehicle intelligent key - Google Patents

Software upgrading method and system for vehicle intelligent key Download PDF

Info

Publication number
CN115061710A
CN115061710A CN202210771119.3A CN202210771119A CN115061710A CN 115061710 A CN115061710 A CN 115061710A CN 202210771119 A CN202210771119 A CN 202210771119A CN 115061710 A CN115061710 A CN 115061710A
Authority
CN
China
Prior art keywords
intelligent key
version
vehicle
software system
lifting mechanism
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
CN202210771119.3A
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.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor 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 Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202210771119.3A priority Critical patent/CN115061710A/en
Publication of CN115061710A publication Critical patent/CN115061710A/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/45Structures or tools for the administration of authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/57Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
    • G06F21/575Secure boot
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/656Updates while running

Abstract

The invention is suitable for the technical field of automotive electronics, and provides a software upgrading method and a system of an intelligent vehicle key, wherein the method comprises the following steps: when the intelligent key is in communication connection with the lifting mechanism, the intelligent key sends the version number of a software system installed in the intelligent key to the lifting mechanism; the lifting mechanism generates a version checking request according to the version number and sends the version checking request to the TSP server; and the TSP server judges whether the software system of the intelligent key needs to be upgraded or not according to the version number in the version checking request, and if so, sends the installation package of the software system of the latest version to the intelligent key so that the intelligent key automatically upgrades the installed software system. The invention can automatically upgrade the software system in the vehicle intelligent key.

Description

Software upgrading method and system for vehicle intelligent key
Technical Field
The invention belongs to the technical field of automotive electronics, and particularly relates to a software upgrading method and system for an intelligent vehicle key.
Background
With the rapid development of the automobile industry, automobiles have gradually become the main vehicles for people to go out daily, and vehicle keys are also developed from the original mechanical keys to the current intelligent remote control keys.
At present, the relatively advanced vehicle intelligent key not only can realize basic functions of unlocking and locking of a vehicle, starting of the vehicle, unlocking and locking of a trunk and the like, but also has a liquid crystal screen, and can display vehicle condition information in real time, so that a vehicle owner can know the condition of the vehicle at any time through the vehicle intelligent key. For such a vehicle smart key, a software system is usually installed inside the vehicle smart key, and since the software system is continuously improved, the software system in the vehicle smart key needs to be upgraded to obtain a system version with better performance than the original version. In the prior art, a method for automatically upgrading a software system in a vehicle intelligent key does not exist.
Disclosure of Invention
In view of this, the embodiment of the present invention provides a method and a system for upgrading software of a vehicle smart key, so as to automatically upgrade a software system in the vehicle smart key.
The first aspect of the embodiment of the invention provides a software upgrading method for a vehicle intelligent key, wherein a lifting mechanism is arranged on a vehicle and used for placing the intelligent key of the vehicle, and when the intelligent key is placed on the lifting mechanism, the intelligent key and the lifting mechanism are in communication connection;
the software upgrading method of the intelligent key of the vehicle comprises the following steps:
when the intelligent key is in communication connection with the lifting mechanism, the intelligent key sends the version number of a software system installed in the intelligent key to the lifting mechanism;
the lifting mechanism generates a version checking request according to the version number and sends the version checking request to the TSP server;
and the TSP server judges whether the software system of the intelligent key needs to be upgraded or not according to the version number in the version checking request, and if so, sends the installation package of the software system of the latest version to the intelligent key so that the intelligent key automatically upgrades the installed software system.
Optionally, when the intelligent key establishes communication connection with the lifting mechanism:
the intelligent key also sends the equipment information of the intelligent key to the lifting mechanism;
correspondingly, the lifting mechanism generates a version checking request according to the version number, and the version checking request comprises the following steps:
the lifting mechanism acquires the identity information of the vehicle and generates a version check request according to the version number, the equipment information and the identity information of the vehicle.
Optionally, before the TSP server determines whether the software system of the smart key needs to be upgraded according to the version number in the version check request, the TSP server further includes:
the TSP server authenticates the equipment information and the identity information in the version check request;
if the authentication is passed, the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request;
and if the authentication is not passed, the TSP server does not upgrade the software system of the intelligent key.
Optionally, the authenticating, by the TSP server, the device information and the identity information in the version check request includes:
the TSP server judges whether target vehicle information exists in a vehicle information table stored in advance; the vehicle information table stores vehicle information of a plurality of vehicles, the vehicle information of each vehicle comprises identity information of the vehicle and equipment information of an intelligent key corresponding to the vehicle, and the target vehicle information is the vehicle information comprising the equipment information and the identity information in the version check request;
if the target vehicle information exists in the vehicle information table, the authentication is passed;
if the target vehicle information does not exist in the vehicle information table, the authentication is not passed.
Optionally, the determining, by the TSP server, whether the software system of the smart key needs to be upgraded according to the version number in the version check request includes:
the TSP server judges whether the version number in the version checking request is consistent with the version number of the software system of the latest version, and if so, the TSP server judges that the software system of the intelligent key does not need to be upgraded;
and if the two are not consistent, judging that the software system of the intelligent key needs to be upgraded.
Optionally, after it is determined that the software system of the smart key needs to be upgraded, the method further includes:
the TSP server sends version information of the software system with the latest version to the intelligent key;
the intelligent key displays the version information of the software system with the latest version and sends an upgrade confirmation instruction to the TSP server;
if the upgrade confirmation instruction is that the upgrade is approved, the TSP server sends an installation package of the software system of the latest version to the intelligent key; and if the upgrade confirmation instruction is to refuse the upgrade, the TSP server does not send the installation package of the software system of the latest version to the intelligent key.
Optionally, when the smart key is not placed on the lifting mechanism, the lifting mechanism is in a lifting state; when the intelligent key is placed on the lifting mechanism, the lifting mechanism is in a sinking state;
in the process of upgrading the software system installed by the intelligent key, the method further comprises the following steps:
locking the state of the lifting mechanism into a sinking state;
locking a power mode of a vehicle to an on mode;
and locking the ignition switch of the vehicle to an invalid mode, wherein the ignition switch of the vehicle cannot carry out ignition or flameout control on the vehicle in the invalid mode.
Optionally, before the smart key automatically upgrades the installed software system, the method further includes:
the intelligent key backs up the version of the software system installed currently;
in the process of automatically upgrading the installed software system by the intelligent key, the method further comprises the following steps:
if the upgrade fails, the intelligent key installs the backed-up software system version and deletes the installation package of the software system with the latest version.
Optionally, the device information is an intelligent key MAC address, and the identity information is a VIN number of the vehicle.
A second aspect of an embodiment of the present invention provides a software upgrading system for a vehicle smart key, including:
the system comprises an intelligent key, a TSP server and a lifting mechanism positioned on a vehicle;
the lifting mechanism is used for placing an intelligent key of the vehicle, and when the intelligent key is placed on the lifting mechanism, the intelligent key is in communication connection with the lifting mechanism;
the intelligent key is used for sending the version number of a software system installed in the intelligent key to the lifting mechanism when establishing communication connection with the lifting mechanism;
the lifting mechanism is used for generating a version checking request according to the version number and sending the version checking request to the TSP server;
the TSP server is used for judging whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request, and if so, sending the installation package of the software system of the latest version to the intelligent key so that the intelligent key can automatically upgrade the installed software system.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the intelligent key is in communication connection with the lifting mechanism, so that the intelligent key can send the version number of the software system installed in the intelligent key to the lifting mechanism, the lifting mechanism can generate the version check request according to the version number and send the version check request to the TSP server, and the TSP server sends the installation package of the software system with the latest version to the intelligent key so as to upgrade the software system of the intelligent key. According to the invention, through establishing the communication link between the intelligent key and the lifting mechanism and the TSP server, the TSP server can automatically detect whether the software system of the intelligent key is the latest version or not, and can send the installation package of the software system of the latest version to the intelligent key, thereby realizing the automatic upgrading of the software system of the intelligent key.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a first schematic flow chart illustrating an implementation process of a software upgrading method for a vehicle smart key according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating a second implementation flow of the software upgrading method for the vehicle intelligent key according to the embodiment of the present invention;
fig. 3 is a schematic structural diagram of a software upgrading system of a vehicle smart key according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to illustrate the technical means of the present invention, the following description is given by way of specific examples.
First, the elevator mechanism in the present application will be described. In this application, install a elevating system in the auttombilism room, this elevating system is used for placing intelligent key. The intelligent key can be fixed through magnetism with elevating system, and the two interacts through 4 metal contact structures under the fixed state, and wherein 2 contacts are used for elevating system to charge to the intelligent key, and 2 contacts are used for data communication between intelligent key and elevating system in addition, and communication mode can adopt UART serial communication etc. and communication content includes equipment authentication, car condition data, key accuse car instruction etc.. The lifting mechanism acquires the state of the engine, the speed and the gear state in real time through a CAN network, and synchronizes the state of the engine, the speed and the gear state to the intelligent key in real time after protocol conversion. The intelligent key is not placed in the lifting mechanism, the lifting mechanism keeps a lifting state, and the surface of the lifting mechanism is flush with the inner decoration of the whole vehicle. Elevating system is put into to intelligent key and fixed through magnetism with elevating system, and the two accomplishes the communication authentication back, and elevating system drives intelligent key automatic descending, descends to the back in place, and intelligent key plane surface and interior trim parallel and level prevent that the mistake from touching or bumping the key. When the intelligent key is not connected with the lifting mechanism, the intelligent key only displays unlocking, locking, car-finding function keys and the like related to key functions; after the intelligent key is connected with elevating system, the intelligent key can show interfaces such as START, STOP, and the car owner can realize opening or stopping or other control to the vehicle through clicking icons such as START, STOP on the intelligent key screen.
Referring to fig. 1, the software upgrading method for the vehicle smart key of the present embodiment includes:
step one, when the intelligent key is in communication connection with the lifting mechanism, the intelligent key sends the version number of a software system installed in the intelligent key to the lifting mechanism.
And step two, the lifting mechanism generates a version check request according to the version number and sends the version check request to the TSP server.
And step three, the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request, and if so, the TSP server sends the installation package of the software system of the latest version to the intelligent key so that the intelligent key can automatically upgrade the installed software system.
Most vehicle intelligent key does not possess networking function, only realizes the unblock control of vehicle through near field communication modes such as high low frequency or bluetooth, consequently, is difficult to upgrade intelligent key's software system, and the time of a long time, intelligent key's software system version falls behind, has greatly influenced user's experience. And the intelligent key is additionally provided with a networking function, so that the cost is greatly increased, and the cost performance is lower.
In view of the above problems, embodiments of the present invention provide a personalized and intelligent car key, which has a display/touch screen and an operating system, and when the car key is placed on a lifting mechanism of a vehicle, the car key can establish a communication connection with the lifting mechanism.
The internet of vehicles background TSP server has the functions of storing the software version number of the intelligent key and storing, pushing, verifying and issuing software, and under the condition that an intelligent key-lifting mechanism-TBOX-TSP communication link is established, the TSP server can provide services of software updating, checking, pushing and downloading. Namely:
the intelligent key sends the version number of a software system installed in the intelligent key to the lifting mechanism;
the lifting mechanism generates a version check request according to the version number and sends the version check request to the TSP server through the TBOX;
the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request, and if so, the TSP server sends an installation package of the software system of the latest version to the intelligent key through the TBOX and the lifting mechanism so as to automatically upgrade the software system of the intelligent key;
if the software system of the smart key is the latest version, the installation package is not sent.
Therefore, in the embodiment of the invention, the intelligent key and the lifting mechanism are in communication connection, so that the intelligent key can send the version number of the software system installed on the intelligent key to the lifting mechanism, the lifting mechanism can further generate a version check request according to the version number and send the version check request to the TSP server, and the TSP server sends the installation package of the software system of the latest version to the intelligent key so as to upgrade the software system of the intelligent key. According to the invention, through establishing the communication link between the intelligent key and the lifting mechanism and the TSP server, the TSP server can automatically detect whether the software system of the intelligent key is the latest version or not, and can send the installation package of the software system of the latest version to the intelligent key, thereby realizing the automatic upgrading of the software system of the intelligent key. In addition, the intelligent key is required to be connected with the lifting mechanism every time a car owner gets on the car, so that the software system of the intelligent key can be automatically checked and upgraded every time the car owner gets on the car.
As a possible implementation manner, referring to fig. 2, when the smart key establishes a communication connection with the lifting mechanism, the smart key further sends its device information to the lifting mechanism, where the device information may be a MAC address of the smart key, and the MAC addresses of all keys are unique and fixed.
Correspondingly, the lifting mechanism generates a version check request according to the version number, which can be detailed as follows:
the lifting mechanism acquires the identity information of the vehicle, wherein the identity information can be the VIN number of the vehicle, and generates a version check request according to the version number, the equipment information and the identity information of the vehicle.
Correspondingly, before the TSP server determines whether the software system of the smart key needs to be upgraded according to the version number in the version check request, the TSP server further includes:
the TSP server authenticates the equipment information and the identity information in the version check request;
if the authentication is passed, the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request;
and if the authentication is not passed, the TSP server does not upgrade the software system of the intelligent key.
In the embodiment, the version check request is generated by combining the MAC address of the intelligent key and the VIN number of the vehicle, so that the request can be accurately authenticated and recorded, and the connection safety is improved.
As a possible implementation manner, the TSP server authenticates the device information and the identity information in the version check request, which may be detailed as follows:
the TSP server judges whether target vehicle information exists in a vehicle information table stored in advance; the vehicle information table stores vehicle information of a plurality of vehicles, the vehicle information of each vehicle comprises identity information of the vehicle and equipment information of an intelligent key corresponding to the vehicle, and the target vehicle information is the vehicle information comprising the equipment information and the identity information in the version check request;
if the target vehicle information exists in the vehicle information table, the authentication is passed;
if the target vehicle information does not exist in the vehicle information table, the authentication is not passed.
In this embodiment, in the vehicle production and smart key matching process, the production line data reading device binds the vehicle VIN and the smart key MAC address and uploads the vehicle VIN and the smart key MAC address to the production system server. And the production system server forwards the bound vehicle VIN and key MAC to the TSP server and stores the same.
When the intelligent key is placed in the lifting mechanism, the lifting mechanism descends, the vehicle power mode is automatically switched from OFF to ON, the intelligent key sends an MAC address and a software system version number to the lifting mechanism, the lifting mechanism receives the MAC address and the version number sent by the intelligent key, simultaneously obtains a vehicle VIN number from the gateway, packages the VIN number, the MAC address and the version number, generates a version check request, and sends the version check request to a vehicle communication module TBOX, and the TBOX forwards the version check request to the TSP server. After the TSP server receives the version check request, the VIN number, the MAC address and the version number in the request are analyzed, and the VIN number and the MAC address are authenticated through a pre-stored vehicle information table, so that the matching of the vehicle and the intelligent key is ensured, the vehicle is a recorded vehicle in the TSP server, and the safety and the reliability of software upgrading are ensured.
After the verification is passed, the TSP server judges whether the software system of the intelligent key needs to be upgraded, specifically, the TSP server judges whether the version number in the version check request is consistent with the version number of the software system of the latest version, if so, the software system of the intelligent key does not need to be upgraded, the TSP server does not perform feedback, and the process is ended; and if the two are not consistent, judging that the software system of the intelligent key needs to be upgraded.
In this embodiment, each version of the software system of the smart key has a unique version number, the TSP server stores the version number of the software system of the latest version and the installation package, and the TSP server can determine whether the software system of the smart key needs to be upgraded by checking the consistency of the new version number and the old version number. In a possible implementation manner, the TSP server can further determine how many versions are different between the current version and the latest version according to the version number of the software system of the smart key, and determine the importance degree of the upgrade, such as suggesting the upgrade, strongly suggesting the upgrade, and the like, where the suggestions may be synchronously sent when the TSP server sends version information to the smart key, so as to guide the upgrade of the user and improve the user experience.
As a possible implementation manner, referring to fig. 2, after determining that the software system of the smart key needs to be upgraded, before the TSP server sends the installation package, the method may further include the following steps:
the TSP server issues version information of the software system of the latest version to the TBOX;
TBOX sends the version information to the lifting mechanism through CAN;
the lifting mechanism sends the version information to the intelligent key after protocol conversion, the intelligent key performs popup display on a screen after receiving the new version information, and a user selects whether to upgrade or not;
the intelligent key sends an upgrade confirmation instruction to the TSP server through the lifting mechanism and the TBOX;
if the upgrade confirmation instruction is that the upgrade is approved, the TSP server sends an installation package of the software system of the latest version to the intelligent key; and if the upgrade confirmation instruction is to refuse the upgrade, the TSP server does not send the installation package of the software system of the latest version to the intelligent key.
In this way, the user can freely select whether to upgrade or not, and the will of the user is fully satisfied. In addition, the system can be upgraded at a proper time, and the influence of the upgrading process on the vehicle utilization of the user is reduced.
In the present embodiment, when the smart key is not placed on the elevating mechanism, the elevating mechanism is in a raised state; when the intelligent key is placed on the lifting mechanism, the lifting mechanism is in a sinking state.
As a possible implementation manner, in the process of upgrading the version information of the software system installed by the smart key, the method further includes:
locking the state of the lifting mechanism into a sinking state;
locking a power mode of a vehicle to an on mode;
and locking the ignition switch of the vehicle to an invalid mode, wherein the ignition switch of the vehicle cannot carry out ignition or flameout control on the vehicle in the invalid mode.
In this embodiment, in the upgrading process, it is necessary to ensure normal communication of the data link, and prevent the software system from being abnormal due to interruption of the upgrading process. Therefore, the state of the lifting mechanism is locked to be a sinking state, the lifting mechanism is not allowed to be lifted to take out the intelligent key, and the normal connection between the intelligent key and the lifting mechanism is ensured. Meanwhile, the power mode of the vehicle is locked into an opening mode, the ignition switch of the vehicle is locked into an invalid mode, normal communication of a data link is guaranteed, and the locking is continued until upgrading is completed or fails.
In the upgrading process, there may be various emergency situations that cause upgrading failure, for example, the installation memory of the smart key is insufficient, the network signal is interrupted, and in order not to affect the normal use of the smart key, in an embodiment, before the smart key upgrades the version information of the software system installed in the smart key, the method further includes:
the intelligent key backs up the version of the currently installed software system;
in the process of upgrading the version information of the software system installed by the intelligent key, the method further comprises the following steps:
if the upgrade fails, the intelligent key prompts that the installation fails, automatically installs the backed-up software system version, and deletes the installation package of the software system with the latest version.
Therefore, the intelligent key can be normally used no matter whether the software system of the intelligent key is upgraded successfully or not, and the condition that the intelligent key cannot be used due to upgrading failure is avoided. And generally, the upgrade failure is caused by network interruption or abnormal data of the installation package, so that the installation package of the software system of the latest version is incomplete or cannot be installed and deleted, and the invalid installation package is prevented from occupying the storage space of the intelligent key.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an 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.
Referring to fig. 3, an embodiment of the present invention provides a software upgrade system for a vehicle smart key, including:
the system comprises an intelligent key, a TSP server and a lifting mechanism positioned on a vehicle;
the lifting mechanism is used for placing an intelligent key of the vehicle, and when the intelligent key is placed on the lifting mechanism, the intelligent key is in communication connection with the lifting mechanism;
the intelligent key is used for sending the version number of a software system installed in the intelligent key to the lifting mechanism when establishing communication connection with the lifting mechanism;
the lifting mechanism is used for generating a version checking request according to the version number and sending the version checking request to the TSP server;
the TSP server is used for judging whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request, and if so, sending the installation package of the software system of the latest version to the intelligent key so that the intelligent key can automatically upgrade the installed software system.
As a possible implementation manner, when the smart key establishes a communication connection with the lifting mechanism:
the intelligent key is also used for sending the equipment information of the intelligent key to the lifting mechanism.
Correspondingly, the lifting mechanism is specifically used for: and acquiring the identity information of the vehicle, and generating a version check request according to the version number, the equipment information and the identity information of the vehicle.
As a possible implementation manner, before determining whether the software system of the smart key needs to be upgraded according to the version number in the version check request, the TSP server is further configured to:
authenticating the equipment information and the identity information in the version check request;
if the authentication is passed, the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request;
and if the authentication is not passed, the TSP server does not upgrade the software system of the intelligent key.
As a possible implementation manner, the TSP server is specifically configured to:
the TSP server judges whether target vehicle information exists in a vehicle information table stored in advance; the vehicle information table stores vehicle information of a plurality of vehicles, the vehicle information of each vehicle comprises identity information of the vehicle and equipment information of an intelligent key corresponding to the vehicle, and the target vehicle information is the vehicle information comprising the equipment information and the identity information in the version check request;
if the target vehicle information exists in the vehicle information table, the authentication is passed;
if the target vehicle information does not exist in the vehicle information table, the authentication is not passed.
As a possible implementation manner, the TSP server is specifically configured to:
judging whether the version number in the version checking request is consistent with the version number of the software system of the latest version, and if so, judging that the software system of the intelligent key does not need to be upgraded;
and if the two are not consistent, judging that the software system of the intelligent key needs to be upgraded.
As a possible implementation manner, after it is determined that the software system of the smart key needs to be upgraded:
the TSP server is also used for sending version information of the software system with the latest version to the intelligent key;
the intelligent key is also used for displaying the version information of the software system with the latest version and sending an upgrade confirmation instruction to the TSP server; if the upgrade confirmation instruction is that the upgrade is approved, the TSP server is also used for sending an installation package of the software system of the latest version to the intelligent key; and if the upgrade confirmation instruction is to refuse the upgrade, the TSP server does not send the installation package of the software system of the latest version to the intelligent key.
As a possible implementation manner, in the process of upgrading the software system installed by the smart key, the system is further configured to:
locking the state of the lifting mechanism into a sinking state;
locking a power mode of a vehicle to an on mode;
and locking the ignition switch of the vehicle to an invalid mode, wherein the ignition switch of the vehicle cannot carry out ignition or flameout control on the vehicle in the invalid mode.
As a possible implementation manner, before the smart key automatically upgrades the installed software system, the smart key is also used to backup the version of the currently installed software system.
In the process of automatically upgrading the installed software system by the intelligent key:
if the upgrade fails, the intelligent key is also used for installing the backed-up software system version and deleting the installation package of the software system with the latest version.
As a possible implementation manner, the device information is a MAC address of the smart key, and the identity information is a VIN number of the vehicle.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A software upgrading method for a vehicle intelligent key is characterized in that a lifting mechanism is arranged on a vehicle and used for placing the intelligent key of the vehicle, and when the intelligent key is placed on the lifting mechanism, the intelligent key is in communication connection with the lifting mechanism;
the method comprises the following steps:
when the intelligent key is in communication connection with the lifting mechanism, the intelligent key sends the version number of a software system installed in the intelligent key to the lifting mechanism;
the lifting mechanism generates a version checking request according to the version number and sends the version checking request to the TSP server;
and the TSP server judges whether the software system of the intelligent key needs to be upgraded or not according to the version number in the version checking request, and if so, sends an installation package of the software system of the latest version to the intelligent key so that the intelligent key automatically upgrades the installed software system.
2. The software upgrading method for vehicle smart key according to claim 1, characterized in that when the smart key establishes communication connection with the lifting mechanism:
the intelligent key also sends the equipment information of the intelligent key to the lifting mechanism;
correspondingly, the generating of the version checking request by the lifting mechanism according to the version number comprises:
and the lifting mechanism acquires the identity information of the vehicle and generates the version check request according to the version number, the equipment information and the identity information of the vehicle.
3. The software upgrading method of vehicle smart key as claimed in claim 2, wherein the TSP server further comprises, before determining whether the software system of the smart key needs upgrading according to the version number in the version check request:
the TSP server authenticates the equipment information and the identity information in the version check request;
if the authentication is passed, the TSP server judges whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request;
and if the authentication is not passed, the TSP server does not upgrade the software system of the intelligent key.
4. The software upgrading method of vehicle smart key as claimed in claim 3, wherein the TSP server authenticating the device information and the identity information in the version check request comprises:
the TSP server judges whether target vehicle information exists in a vehicle information table stored in advance; the vehicle information table stores vehicle information of a plurality of vehicles, the vehicle information of each vehicle comprises identity information of the vehicle and equipment information of an intelligent key corresponding to the vehicle, and the target vehicle information is the vehicle information comprising the equipment information and the identity information in the version check request;
if the target vehicle information exists in the vehicle information table, the authentication is passed;
and if the target vehicle information does not exist in the vehicle information table, the authentication is not passed.
5. The software upgrading method of vehicle smart key as claimed in claim 1, wherein the TSP server determining whether the software system of the smart key needs to be upgraded according to the version number in the version check request includes:
the TSP server judges whether the version number in the version checking request is consistent with the version number of the software system of the latest version, and if so, the TSP server judges that the software system of the intelligent key does not need to be upgraded;
and if the two are not consistent, judging that the software system of the intelligent key needs to be upgraded.
6. The software upgrading method for vehicle smart key according to claim 1, further comprising, after determining that the software system of the smart key needs to be upgraded:
the TSP server sends version information of the software system with the latest version to the intelligent key;
the intelligent key displays the version information of the software system with the latest version and sends an upgrade confirmation instruction to the TSP server;
if the upgrade confirming instruction is to approve upgrading, the TSP server sends an installation package of a software system of the latest version to the intelligent key; and if the upgrade confirmation instruction is to refuse the upgrade, the TSP server does not send the installation package of the software system of the latest version to the intelligent key.
7. The software upgrading method of a vehicle smart key of claim 1, wherein when the smart key is not placed on the elevating mechanism, the elevating mechanism is in a raised state; when the intelligent key is placed on the lifting mechanism, the lifting mechanism is in a sinking state;
in the process of upgrading the software system installed by the intelligent key, the method further comprises the following steps:
locking the state of the lifting mechanism to a sinking state;
locking a power mode of the vehicle to an on mode;
and locking an ignition switch of the vehicle to an invalid mode, wherein the ignition switch of the vehicle cannot perform ignition or flameout control on the vehicle in the invalid mode.
8. The software upgrading method for vehicle smart key as claimed in claim 1, further comprising, before the smart key automatically upgrades the installed software system thereof:
the intelligent key backs up the version of the currently installed software system;
in the process of automatically upgrading the software system installed by the intelligent key, the method further comprises the following steps:
and if the upgrade fails, the intelligent key installs the backed-up software system version and deletes the installation package of the software system with the latest version.
9. The software upgrading method for vehicle smart key of claim 2, characterized in that the device information is the smart key MAC address and the identity information is the VIN number of the vehicle.
10. A software upgrade system for a vehicle fob, comprising:
the system comprises a smart key, a TSP server and a lifting mechanism positioned on the vehicle;
the lifting mechanism is used for placing an intelligent key of the vehicle, and when the intelligent key is placed on the lifting mechanism, the intelligent key is in communication connection with the lifting mechanism;
the intelligent key is used for sending the version number of a software system installed in the intelligent key to the lifting mechanism when the intelligent key is in communication connection with the lifting mechanism;
the lifting mechanism is used for generating a version checking request according to the version number and sending the version checking request to the TSP server;
and the TSP server is used for judging whether the software system of the intelligent key needs to be upgraded according to the version number in the version checking request, and if so, sending an installation package of the software system with the latest version to the intelligent key so that the intelligent key automatically upgrades the installed software system.
CN202210771119.3A 2022-06-30 2022-06-30 Software upgrading method and system for vehicle intelligent key Pending CN115061710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210771119.3A CN115061710A (en) 2022-06-30 2022-06-30 Software upgrading method and system for vehicle intelligent key

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210771119.3A CN115061710A (en) 2022-06-30 2022-06-30 Software upgrading method and system for vehicle intelligent key

Publications (1)

Publication Number Publication Date
CN115061710A true CN115061710A (en) 2022-09-16

Family

ID=83204152

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210771119.3A Pending CN115061710A (en) 2022-06-30 2022-06-30 Software upgrading method and system for vehicle intelligent key

Country Status (1)

Country Link
CN (1) CN115061710A (en)

Similar Documents

Publication Publication Date Title
US11146401B2 (en) Software authentication before software update
US9557981B2 (en) Method and apparatus for automatic module upgrade
CN110442363B (en) Vehicle ECU upgrading control method
US20080007120A1 (en) System for providing a software application for a mobile terminal in a motor vehicle
US9992066B2 (en) Data updating method, device for vehicle diagnosing apparatus and vehicle diagnosing apparatus
CN111614765B (en) Vehicle OTA (over the air) upgrading method and system
WO2021203604A1 (en) Update test method and apparatus for vehicle component, and computer device and storage medium
CN109726528A (en) Vehicle device Service Activation, vehicle device service request method, device, equipment and medium
EP3399410A1 (en) Method and system for software installation in a vehicle
CN112134926A (en) Vehicle-mounted equipment upgrading system and method
CN113434168A (en) Vehicle-mounted network architecture self-adaptive upgrading method based on intelligent hardware computing power
CN112328282A (en) Remote upgrading method, equipment, device and medium for vehicle-mounted central control system
CN107102849B (en) Method and apparatus for file replacement with periodic ignition switch off
CN115344281A (en) Finished automobile OTA (over the air) upgrading method, system, storage medium and equipment
WO2022078193A1 (en) Vehicle control method and apparatus, and storage medium
CN115061710A (en) Software upgrading method and system for vehicle intelligent key
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN113960988A (en) Vehicle-mounted multimedia equipment with diagnosis function and diagnosis method
CN114385202A (en) Server, software update system, distribution method, and non-temporary storage medium
CN112141021A (en) Control method, device and system for vehicles in Internet of vehicles
CN114840241A (en) Data processing method and related equipment
US20210173629A1 (en) Method for remotely updating embedded vehicle software
CN112911055A (en) Control method, control device, vehicle, and storage medium
CN111107516A (en) Vehicle fortification method, system and storage medium
CN112346753A (en) Data acquisition method and system for vehicle-mounted terminal

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