Car key upgrading method, car key binding method and electronic equipment

Through the terminal device displaying the interface on the car key and obtaining the upgrade package from the server for upgrading, the problem that traditional car keys cannot be upgraded in the cloud is solved, and the convenience and security of vehicle use are improved.

CN119225760APending Publication Date: 2024-12-31AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411265649.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The information of traditional PEPS keys cannot be uploaded to the cloud for unified management and upgrade, resulting in limited convenience and security of vehicles, and users need to go to the store to operate and upgrade.

Method used

Through the display interface of terminal devices such as smartphones, users operate the car keys to enter the upgrade mode. The terminal device obtains the software upgrade package from the car key server and sends it to the car keys for upgrade, realizing the car key software upgrade without going to the store.

Benefits of technology

It improves the convenience and safety of vehicle use, and users can update the car key software in a timely manner on terminal devices, reducing the complexity and time cost of car key upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225760A_ABST
    Figure CN119225760A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle key upgrading method, a vehicle key binding method and electronic equipment, and relates to the field of intelligent vehicles. According to the method, different interfaces are displayed on terminal equipment, so that a user operates a car key according to prompt information on the interfaces, and the terminal equipment obtains a software upgrading package from a car key server based on an upgrading request of the car key and sends the software upgrading package to the car key, so that software upgrading of the car key is completed. A user can confirm the car key information on the terminal equipment and carry out software upgrading on the car key through the terminal equipment. And the user does not need to go to a shop to upgrade the car key, so that the effect of improving the car use convenience is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of smart vehicles, and specifically to a vehicle key upgrading method, a vehicle key binding method, and an electronic device. Background Art

[0002] In traditional models, the PEPS key (Passive Entry Passive Start, PEPS for short) communicates with the vehicle mainly through radio frequency signals (RF signals for short), so that when the owner walks into the vehicle with the PEPS key, the door is automatically unlocked and the anti-theft status is released. However, due to the transmission limitations of RF signals and the imperfections of car-cloud technology, the information of the PEPS key has not been uploaded to the cloud for unified management and upgrades. Users need to go to the store to complete the upgrade of the PEPS key, which to a certain extent limits the convenience and safety of vehicle use. Summary of the invention

[0003] In view of the above problems, the present application provides a car key upgrade method, a car key binding method and an electronic device. Users can upgrade the software of the bound car keys through terminal devices such as smart phones. Users do not need to go to the store to upgrade the car keys, thereby improving the convenience of vehicle use.

[0004] In a first aspect, an embodiment of the present application provides a method for upgrading a car key, which is applied to a terminal device, wherein the terminal device includes a display screen, and the display screen displays a first interface. The method includes:

[0005] In response to the operation of upgrading the car key on the first interface, displaying a second interface, the second interface including operation guidance information, the operation guidance information is used to indicate the operation steps of triggering the car key to enter the upgrade mode;

[0006] receiving upgrade requests from vehicle keys;

[0007] Obtain the latest software upgrade package of the car key from the car key server according to the upgrade request;

[0008] Send a software upgrade package to the vehicle key to enable the vehicle key to complete the software upgrade.

[0009] In a second aspect, an embodiment of the present application provides a vehicle key binding method, which is applied to a vehicle server, and the method includes:

[0010] Receiving a first binding request from a terminal device, the first binding request including vehicle key information and identification information of the terminal device;

[0011] According to the identification information of the terminal device, obtaining the user information bound to the terminal device from the database of the vehicle server;

[0012] Bind the car key information with the user information;

[0013] receiving a second binding request from the vehicle end, the second binding request including vehicle key information and vehicle information;

[0014] Bind the car key information and vehicle information.

[0015] In a third aspect, an embodiment of the present application provides a vehicle key binding method, which is applied to a vehicle end, and the method includes:

[0016] After the vehicle end is successfully paired with the vehicle key, a second binding request is sent to the vehicle server, where the second binding request includes the vehicle key information and the vehicle information, so that the vehicle server binds the vehicle key information and the vehicle information.

[0017] In a fourth aspect, an embodiment of the present application provides a vehicle key binding method, which is applied to a vehicle key, and the method includes:

[0018] Send a pairing request to the vehicle end, the pairing request is used to request vehicle information;

[0019] Receive vehicle information from the vehicle end, the vehicle information includes vehicle identification and vehicle random number;

[0020] Encrypting the vehicle random number in the vehicle information to obtain a first encrypted file;

[0021] Sending car key information to the vehicle end, the car key information including identification information of the car key, software version of the car key, a car key random number and a first encrypted file, so that the vehicle end can parse the first encrypted file;

[0022] Receiving a second encrypted file from the vehicle end, where the second encrypted file is obtained by encrypting the random number of the vehicle key by the vehicle end;

[0023] Parsing the second encrypted file to obtain a second random number;

[0024] If the second random number is consistent with the car key random number, a pairing success message is sent to the vehicle end.

[0025] In a fifth aspect, an embodiment of the present application provides a vehicle key upgrading device, comprising:

[0026] A display module, configured to respond to an operation of upgrading the car key on the first interface and display a second interface, wherein the second interface includes operation guidance information, and the operation guidance information is used to indicate operation steps for triggering the car key to enter the upgrade mode;

[0027] A receiving module, used for receiving an upgrade request from a vehicle key;

[0028] An acquisition module is used to obtain the latest software upgrade package of the car key from the car key server according to the upgrade request;

[0029] The sending module is used to send a software upgrade package to the car key so that the car key completes the software upgrade.

[0030] In a sixth aspect, an embodiment of the present application provides a vehicle key binding device, including:

[0031] A receiving module, configured to receive a first binding request from a terminal device, wherein the first binding request includes vehicle key information and identification information of the terminal device;

[0032] An acquisition module, used to acquire user information bound to the terminal device from a database of the vehicle server according to the identification information of the terminal device;

[0033] A processing module, used to bind the car key information with the user information;

[0034] The receiving module is further used to receive a second binding request from the vehicle end, wherein the second binding request includes vehicle key information and vehicle information;

[0035] The processing module is also used to bind the car key information and the vehicle information.

[0036] In a seventh aspect, an embodiment of the present application provides a vehicle key binding device, including:

[0037] The sending module is used to send a second binding request to the vehicle server after the vehicle end is successfully paired with the vehicle key. The second binding request includes the vehicle key information and the vehicle information, so that the vehicle server binds the vehicle key information and the vehicle information.

[0038] In an eighth aspect, an embodiment of the present application provides a vehicle key binding device, including:

[0039] A sending module is used to send a pairing request to the vehicle end, and the pairing request is used to request vehicle information;

[0040] A receiving module, used to receive vehicle information from the vehicle end, the vehicle information including vehicle identification and vehicle random number;

[0041] A processing module, used for encrypting the vehicle random number in the vehicle information to obtain a first encrypted file;

[0042] The sending module is further used to send the car key information to the vehicle end, where the car key information includes the identification information of the car key, the software version of the car key, the car key random number and the first encrypted file, so that the vehicle end can parse the first encrypted file;

[0043] The receiving module is also used to receive a second encrypted file from the vehicle end, where the second encrypted file is obtained by encrypting the random number of the vehicle key by the vehicle end;

[0044] The processing module is further used to parse the second encrypted file to obtain a second random number;

[0045] The sending module is also used to send a pairing success message to the vehicle end if the second random number is consistent with the vehicle key random number.

[0046] In a ninth aspect, an embodiment of the present application provides an electronic device, including:

[0047] A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0048] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the method provided in any one of the first to fourth aspects above.

[0049] In the tenth aspect, an embodiment of the present application provides a computer-readable storage medium, in which at least one executable instruction is stored. When the executable instruction is executed on an electronic device, the electronic device executes the method provided in any one of the first to fourth aspects above.

[0050] In an eleventh aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the method provided in any one of the first to fourth aspects above.

[0051] The car key upgrade method, car key binding method and electronic device provided in the embodiment of the present application display different interfaces on the terminal device so that the user can operate the car key according to the prompt information on the interface. The terminal device obtains the software upgrade package from the car key server based on the upgrade request of the car key, and sends the software upgrade package to the car key so that the car key completes the software upgrade. The user can confirm the car key information on the terminal device and perform the software upgrade on the car key through the terminal device. The user does not need to go to the store to operate the car key upgrade, thereby improving the convenience of vehicle use.

[0052] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0054] Figure 1 A flow chart of the vehicle key upgrade method provided in this application;

[0055] Figure 2 A schematic diagram of an interface switching process on an exemplary display screen;

[0056] Figure 3 is a schematic diagram of an exemplary second interface;

[0057] Figure 4 Schematic diagram of the process of car key binding method provided in this application Figure 1 ;

[0058] Figure 5 is a schematic diagram of an exemplary fifth interface;

[0059] Figure 6 Schematic diagram of the process of car key binding method provided in this application Figure 2 ;

[0060] Figure 7 A schematic diagram of the structure of the vehicle key upgrade device provided in this application;

[0061] Figure 8 A schematic diagram of the structure of the car key binding device provided in this application Figure 1 ;

[0062] Fig. 9 A schematic diagram of the structure of the car key binding device provided in this application Figure 2 ;

[0063] Fig.10 A schematic diagram of the structure of the car key binding device provided in this application Figure 3 ;

[0064] Fig.11 A schematic diagram of the structure of the electronic device provided in this application.

[0065] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0066] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein.

[0067] First, the terms involved in this application are explained.

[0068] PEPS key: refers to a smart key that uses Passive Entry Passive Start (PEPS) technology. The PEPS key can automatically open the door when the user brings the PEPS key close to the bound vehicle, and can start the vehicle by simply sitting in the driver's seat and pressing the vehicle's start button. The above process does not rely on the traditional key tooth shape and the lock core in the lock hole, but is achieved directly through the radio frequency signal (RF signal) between the PEPS key and the vehicle.

[0069] Terminal device: refers to an electronic device that can directly interact with the user, receive input signals, process data, and provide output results. Optionally, the terminal device has a display device and a touch device, and the user interface can be displayed on the display device. The touch device allows the user to operate by touch, key, voice or other means. For example, terminal devices may include but are not limited to: smart phones, tablet computers, personal computers, smart terminals, smart watches, etc.

[0070] With the development of smart vehicle technology, the technology for controlling smart vehicles is becoming more and more advanced. The car key unlocks the vehicle from the mechanical level, and then it develops to the car key unlocking the vehicle from the electronic level. In some embodiments, the car key is bound to the smart vehicle, and the user can control the smart vehicle through the car key, such as controlling the locking and unlocking of the vehicle.

[0071] In some other embodiments, the smart vehicle information and the user information can be uploaded to a cloud server, and the smart vehicle information and the user information can be bound to each other on the cloud server. A terminal device is provided under the cloud server, and the user can confirm the smart vehicle information through the terminal device.

[0072] It can be seen that in the above embodiment, the car key information is not uploaded to the cloud server, the user cannot confirm the car key information from the terminal device, and cannot upgrade the car key software from the terminal device. To a certain extent, the convenience and safety of vehicle use are limited.

[0073] In this regard, the embodiments of the present application provide a car key upgrade method, a car key binding method and an electronic device. By displaying different interfaces on the terminal device, the user can operate the car key according to the prompt information on the interface. The terminal device obtains the software upgrade package from the car key server based on the upgrade request of the car key, and sends the software upgrade package to the car key, so that the car key completes the software upgrade. The user can confirm the car key information on the terminal device and perform the software upgrade on the car key through the terminal device. The user does not need to go to the store to operate the car key upgrade, thereby improving the convenience of vehicle use.

[0074] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0075] Figure 1 This is a flow chart of the car key upgrade method provided in this application. Figure 1 As shown, the method is applied to a terminal device, a car key, and a car key server. The terminal device includes a display screen, and the display screen displays a first interface. Figure 2 The following is a schematic diagram of the interface switching process on an exemplary display screen. Figure 1 and Figure 2 The process of the vehicle key upgrade method provided in this application is explained. The method includes:

[0076] Step 101. The terminal device responds to the operation of upgrading the car key on the first interface and displays the second interface.

[0077] Combination Figure 2 The first interface includes car key indication information, such as Figure 2 The first interface includes "Physical Key 1" and "Software Version Number: V1.0"; the first interface also includes a button for upgrading the car key. Figure 2 In one example, the terminal device is equipped with a controller, and the controller is connected to the display screen. When the user clicks the button for upgrading the car key in the first interface, the controller of the terminal device responds to the operation and controls the display screen to switch the first interface to the second interface.

[0078] The second interface includes operation guidance information, and the operation guidance information is used to indicate the operation steps for triggering the vehicle key to enter the upgrade mode.

[0079] In one example, at least one of the following information is included:

[0080] First information, the first information is used to indicate a first preset time length for long pressing the vehicle key switch;

[0081] Second information, the second information is used to indicate a preset number of times the vehicle key switch is pressed within a second preset time period;

[0082] The third information is used to indicate a third preset time length for pressing the vehicle key switch;

[0083] The fourth information is used to instruct the vehicle key to enter the upgrade mode.

[0084] The first preset duration can be set to 5 seconds, the second preset duration can be set to 2 seconds, the preset number of times can be set to 2 times, and the third preset duration can be set to 5 seconds. It should be noted that the above first preset duration, second preset duration, preset number of times, and third preset duration are only used as examples. In actual applications, the preset duration can be set to other durations, and the preset number of times can be set to other numbers. This application does not limit this. For example, the first preset duration, the second preset duration, and the third preset duration can be the same duration or different durations.

[0085] Exemplary, combined Figure 2 In the second interface shown, the operation guidance information indicates the operation steps for triggering the car key to enter the upgrade mode. An example of the operation steps is:

[0086] Step 1. Press and hold the physical key switch for 5 seconds";

[0087] Step 2. Press the physical key switch twice within 2 seconds";

[0088] Step 3. Press and hold the physical key switch for 5 seconds;

[0089] Step 4. The reminder light of the physical key flashes.

[0090] When the reminder light of the physical key flashes, it indicates that the physical key has entered the upgrade mode. The above operation guidance information can be changed according to the operation steps of the vehicle key entering the upgrade mode, and the above operation steps are only used as examples.

[0091] Figure 3 is a schematic diagram of an exemplary second interface. In practical applications, the operation steps of the car key entering the upgrade mode can be in various forms. For example, the car key can be triggered to enter the upgrade mode by continuously pressing the switch for a preset time, and / or continuously pressing the switch for a preset number of times within a preset time.

[0092] In one example, the car key enters the upgrade mode by continuously pressing the switch for a preset time. Figure 3 As shown in [a], the operation guidance information of the second interface may be "Please follow the steps below to operate the physical key to enter the upgrade mode", "1. Press and hold the switch of the physical key for 5 seconds", "2. The prompt light of the physical key flashes", "When the prompt light of the physical key flashes, it indicates that the physical key has entered the upgrade mode".

[0093] In one example, the car key enters the upgrade mode by continuously pressing the switch for a preset number of times within a preset time. Figure 3As shown in [b], the operation guidance information of the second interface may be "Please follow the steps below to operate the physical key to enter the upgrade mode", "1. Press the switch of the physical key twice within 2 seconds", "2. The prompt light of the physical key flashes", "When the prompt light of the physical key flashes, it indicates that the physical key has entered the upgrade mode".

[0094] It can be understood that the above exemplary operation steps indicated by the operation guidance information can be implemented separately or in combination.

[0095] In the above example, by displaying the operation guidance information on the second interface, the user is prompted to operate the car key to put the car key into the upgrade mode, laying the foundation for the subsequent terminal device to upgrade the car key. In addition, different operation guidance information is displayed on the second interface for different operations of the physical key to enter the upgrade mode, preventing the user from mistakenly operating the car key to mistakenly enter the upgrade mode, thereby improving the intelligence and safety of the car key upgrade.

[0096] Step 102: The vehicle key triggers entry into the upgrade mode based on the user's operation according to the operation guidance information of the second interface.

[0097] Step 103: After entering the upgrade mode, the car key sends an upgrade request to the terminal device. Correspondingly, the terminal device receives the upgrade request from the car key.

[0098] The car key enters the upgrade mode based on the operation performed by the user. After entering the upgrade mode, the car key sends an upgrade request to the terminal device.

[0099] It should be noted that the data communication between the car key and the terminal device can be realized through Bluetooth technology. The car key and the terminal device are respectively configured with Bluetooth communication modules so that the car key and the terminal device can perform data communication through Bluetooth technology. Specifically, the car key sends an upgrade request to the terminal device through the Bluetooth communication module of the car key, and the terminal device receives the upgrade request from the car key through the Bluetooth communication module of the terminal device.

[0100] Step 104. After receiving the upgrade request and before the vehicle key completes the software upgrade, the terminal device displays the third interface.

[0101] In one example, a Bluetooth communication module of a terminal device is connected to a controller, and the Bluetooth communication module of the terminal device receives an upgrade request from a car key, and the controller of the terminal device controls the display screen to switch the second interface to a third interface.

[0102] The third interface includes first indication information, and the first indication information is used to indicate the current upgrade progress of the vehicle key.

[0103] Combination Figure 2The third interface shown includes first indication information. The first indication information is as follows: Figure 2 The third interface includes "Physical key is being upgraded", a progress bar, and an upgrade progress percentage "70%". Optionally, the third interface also includes a warm reminder message, such as Figure 2 "Do not operate the mobile phone and physical key, and keep the physical key close to the mobile phone" in the third interface shown in the figure.

[0104] Step 105. The terminal device obtains the latest software upgrade package of the car key from the car key server according to the upgrade request.

[0105] The upgrade request includes the identification information of the car key. The identification information of the car key may include the Media Access Control Address (MAC address) of the physical key and / or the Telematics Unique Identifier (TUID) of the physical key. The MAC address of the physical key refers to the unique identifier of the Bluetooth module or the wireless communication module; the TUID of the physical key refers to the unique identifier of the device in the telematics service provider platform.

[0106] Specifically, before obtaining the latest software upgrade package of the car key from the car key server, the terminal device determines whether the car key is the car key bound to the terminal device according to the identification information of the car key in the upgrade request.

[0107] It should be noted that the identification information of the car key bound to the terminal device can be stored locally or obtained from the vehicle server.

[0108] In one example, the identification information of the car key bound to the terminal device is stored locally. The terminal device is configured with a memory or database, a processor, and a Bluetooth communication module, and the identification information of the car key bound to the terminal device is stored in the memory or database of the terminal device. The Bluetooth communication module of the terminal device performs Bluetooth communication with the car key to obtain the identification information of the current car key. The processor of the terminal device is connected to the memory or database of the terminal device, and the processor of the terminal device is connected to the Bluetooth communication module of the terminal device. The processor of the terminal device obtains the identification information of the current car key and the identification information of the car key bound to the terminal device, and compares them. If the identification information of the current car key is consistent with the identification information of the car key bound to the terminal device, it is determined that the current car key is the car key bound to the terminal device.

[0109] In one example, the identification information of the car key bound to the terminal device is obtained from the vehicle server. The terminal device is configured with a processor, a Bluetooth communication module, and a network communication module, and the processor of the terminal device is respectively connected to the Bluetooth communication module of the terminal device and the network communication module of the terminal device. Among them, the Bluetooth communication module of the terminal device can perform Bluetooth communication with the car key to obtain the identification information of the current car key; the network communication module of the terminal device performs network communication with the vehicle server to obtain the identification information of the car key bound to the terminal device. The processor of the terminal device obtains the identification information of the current car key from the Bluetooth communication module of the terminal device, and obtains the identification information of the car key bound to the terminal device from the network communication module of the terminal device, and compares them. If the identification information of the current car key is consistent with the identification information of the car key bound to the terminal device, it is determined that the current car key is the car key bound to the terminal device.

[0110] If it is determined that the car key is the car key bound to the terminal device, the terminal device obtains the latest software upgrade package of the car key from the car key server.

[0111] Furthermore, obtaining the latest software upgrade package of the car key from the car key server may include:

[0112] Step 105a. The terminal device sends an upgrade request to the car key server.

[0113] The upgrade request may include identification information of the vehicle key and current version information of the vehicle key.

[0114] Step 105b. The car key server determines the latest software upgrade package of the car key according to the upgrade request.

[0115] In one example, the car key server determines the latest version information of the car key based on the identification information of the car key in the upgrade request. The car key server compares the current version information of the car key with the latest version information of the car key. If the current version information of the car key is lower than the latest version information of the car key, the latest software upgrade package of the car key is determined according to the latest version information of the car key; if the current version information of the car key is consistent with the latest version information of the car key, it is determined that the car key does not need to be upgraded; if the current version information of the car key is higher than the latest version information of the car key, it is determined that the car key is faulty.

[0116] Step 105c. The car key server sends the latest software upgrade package of the car key to the terminal device.

[0117] In one example, the terminal device receives the latest software upgrade package of the car key through the network communication module of the terminal device.

[0118] Step 106. The terminal device sends a software upgrade package to the car key so that the car key completes the software upgrade.

[0119] In one example, the terminal device sends the received software upgrade package to the car key via the Bluetooth communication module of the terminal device. The car key receives the software upgrade package via the Bluetooth communication module of the car key and performs software upgrade.

[0120] Step 107. After the car key completes the software upgrade, the terminal device displays the fourth interface.

[0121] Among them, the fourth interface includes second indication information, and the second indication information is used to indicate that the vehicle key completes the software upgrade.

[0122] Combination Figure 2 The fourth interface shown includes second indication information. The second indication information is as follows: Figure 2 "Physical key upgrade successful" in the fourth interface shown in .

[0123] Further, step 107 may include:

[0124] Step 107a. After completing the software upgrade, the vehicle key sends an upgrade completion signal to the terminal device.

[0125] Step 107b. The terminal device receives the upgrade completion signal and displays the fourth interface.

[0126] In one example, the Bluetooth communication module of the terminal device receives an upgrade completion signal from the car key, and the controller of the terminal device controls the display screen to switch the third interface to the fourth interface.

[0127] Optionally, the fourth interface also includes a return button, such as Figure 2 The fourth interface is shown in the “Return to Physical Key Interface”. Figure 2 As shown, the user clicks the return button, and the controller of the terminal device controls the display screen to switch the fourth interface to the upgraded first interface. It should be noted that after the car key completes the software upgrade, the software version number in the car key indication information in the first interface should be the software version number after the software upgrade. For example, after the car key completes the software upgrade, the software version number in the car key information in the first interface changes from Figure 2 The "Software version number: V1.0" on the first interface is changed to Figure 2 The “Software Version Number: V2.0” of the first interface after the upgrade is shown.

[0128] It should be noted that the terminal device is installed with an application or applet, which has the first to fourth interfaces built in, and stores an execution instruction, which enables the terminal device to display the first to fourth interfaces on the display screen when running the execution instruction.

[0129] It should also be noted that step 104 and step 105 may be executed simultaneously or sequentially, and the order of execution is not limited.

[0130] The car key upgrade method provided in the embodiment of the present application displays different interfaces on the terminal device so that the user can operate the car key according to the prompt information on the interface. The terminal device obtains the software upgrade package from the car key server based on the upgrade request of the car key, and sends the software upgrade package to the car key so that the car key completes the software upgrade. The user can confirm the car key information on the terminal device and perform software upgrade on the car key through the terminal device. On the one hand, the user does not need to go to the store to perform software upgrade operations on the car key, which improves the convenience of vehicle use; on the other hand, when the car key needs to be updated with software, the user can update the car key on the terminal device in time, which improves the safety of the vehicle and the use of the car key.

[0131] Based on the above embodiments, it can be known that the premise for the terminal device to perform software upgrade on the car key is that the car key is a car key bound to the terminal device. Therefore, for a car key that is not bound to the terminal device, the embodiment of the present application provides a car key binding method. Figure 4 Schematic diagram of the process of car key binding method provided in this application Figure 1 .like Figure 4 As shown, the method is applied to the terminal device, the car key server, and the vehicle server. The display screen of the terminal device can also display a fifth interface. Figure 5 A schematic diagram of an exemplary fifth interface.

[0132] Combination Figure 4 and Figure 5 The process of the car key binding method provided by this application is explained. The method includes:

[0133] Step 401. The terminal device responds to the car key scanning operation on the fifth interface and sends a car key image captured by a camera to a car key server, where the car key image includes an identification code related to the car key information.

[0134] In one example, the terminal device is equipped with a camera, and the camera is used to capture a car key image, and the car key image includes an identification code related to the car key information. In practical applications, the identification code related to the car key information can be a QR code or a barcode. In one example, the car key image captured by the camera is a QR code made of the car key information.

[0135] Combination Figure 5 The fifth interface shown in FIG. 1 includes binding guide information. The binding guide information is as follows: Figure 5 The fifth interface shown in FIG. 1 shows “Please click the button below to scan the QR code to bind the physical key”; the fifth interface also includes a scan button. When the user presses the scan button, the terminal device starts the camera to collect the car key information to produce a QR code.

[0136] Step 402: The car key server identifies the car key image and determines the car key information corresponding to the car key image.

[0137] In one example, the communication module of the terminal device sends the car key image captured by the camera to the car key server in a network communication manner. The car key server is configured with a decoding module, and the decoding module decodes the identification code in the car key image and identifies the car key information. The car key information may include the identification information of the car key.

[0138] Step 403: The car key server sends the car key information to the terminal device.

[0139] The terminal device sends a car key image including an identification code related to the car key information to the car key server so as to obtain the car key information from the car key server.

[0140] Step 404: The terminal device sends a first binding request to the vehicle server.

[0141] Correspondingly, the vehicle server receives the first binding request from the terminal device.

[0142] The first binding request includes the vehicle key information and the identification information of the terminal device, so that the vehicle server binds the vehicle key information with the user information bound to the terminal device.

[0143] In one example, the vehicle server configures a database, and the database stores the identification information of the terminal device and the user information bound to the terminal device. The identification information of the terminal device can uniquely represent the terminal device, and the identification information of the terminal device can be bound to the user information. It can be understood that in the database of the vehicle server, each terminal device is bound to the information of the user using the terminal device.

[0144] Step 405: The vehicle server obtains the user information bound to the terminal device from the database of the vehicle server according to the identification information of the terminal device.

[0145] Step 406: The vehicle server binds the vehicle key information with the user information.

[0146] In one example, the vehicle server determines the user information bound to the terminal device based on the identification information of the terminal device in the first binding request. The vehicle key information in the first binding request and the user information bound to the terminal device are bound. Thus, on the vehicle server, the vehicle key corresponding to the vehicle key information is bound to the user information bound to the terminal device.

[0147] The car key binding method provided in the embodiment of the present application scans the QR code of the car key on the terminal device, and determines the car key information corresponding to the QR code from the car key server based on the QR code. The car key information corresponding to the QR code is bound to the terminal device on the vehicle server, thereby binding the car key information to the user information using the terminal device. Binding the car key information to the user information lays the foundation for the subsequent confirmation of the car key information from the terminal device and the software upgrade of the car key from the terminal device.

[0148] In a possible embodiment, before the vehicle leaves the factory, the staff will bind the car key and the vehicle on the vehicle server. The embodiment of the present application also provides a car key binding method to achieve the binding of car key information and vehicle information on the vehicle server. Figure 6 Schematic diagram of the process of car key binding method provided in this application Figure 2 .like Figure 6 As shown, the method is applied to a car key, a car terminal, and a vehicle server.

[0149] The method includes:

[0150] Step 601: The vehicle key sends a pairing request to the vehicle end, where the pairing request is used to request vehicle information.

[0151] Step 602: The vehicle terminal sends vehicle information to the vehicle key in response to the pairing request initiated by the vehicle key. Correspondingly, the vehicle key receives the vehicle information from the vehicle terminal.

[0152] The vehicle information includes the vehicle identification and the vehicle random number. The vehicle identification is used to represent the vehicle information, and the vehicle random number is used as an encryption object in the process of pairing the car key and the vehicle.

[0153] In one example, the vehicle side and the car key are respectively configured with Bluetooth communication modules. Through the Bluetooth communication module of the car key, the car key sends a pairing request to the vehicle side and receives vehicle information from the vehicle side; through the Bluetooth communication module of the vehicle side, the vehicle side sends vehicle information to the car key.

[0154] Step 603: The vehicle key encrypts the vehicle random number in the vehicle information to obtain a first encrypted file.

[0155] The vehicle key encrypts the vehicle random number using the first key, wherein the first key may be preset by the vehicle key or calculated by the vehicle key based on the key random number.

[0156] In one example, a car key is equipped with a processor, and the processor of the car key includes an encryption module, and the encryption module stores a first key. Specifically, the Bluetooth communication module of the car key is connected to the processor of the car key. The processor of the car key obtains a vehicle random number in the vehicle information from the Bluetooth communication module of the car key, and encrypts the vehicle random number using the first key to obtain a first encrypted file. The encryption method of the first key is not limited. For example, the encryption method of the first key can be symmetric encryption. Symmetric encryption refers to the use of the same key to encrypt and decrypt data.

[0157] In another example, the car key is equipped with a processor, and a key random number is preset on the vehicle side, and the key random number is sent to the car key through the vehicle information. The car key processor uses a key generation function to calculate the key random number to obtain a first key. The specific form of the key generation function is not limited. For example, the key generation function includes but is not limited to: a key derivation function (KDF), a hash function, etc. The vehicle random number is encrypted based on the calculated first key to obtain a first encrypted file.

[0158] Step 604: The vehicle key sends the vehicle key information to the vehicle end. Correspondingly, the vehicle end receives the vehicle key information from the vehicle key.

[0159] The car key information includes the identification information of the car key, the software version of the car key, the car key random number and the first encrypted file. The car key random number is used as an encryption object in the process of pairing the car key and the vehicle end.

[0160] It should be noted that the first encrypted file is obtained by encrypting the vehicle random number with the car key. In combination with the above example, the car key sends the car key information to the vehicle end through the Bluetooth communication module of the car key; and the vehicle end receives the car key information from the car key through the Bluetooth communication module of the vehicle end.

[0161] Step 605: The vehicle side parses the first encrypted file to obtain a first random number.

[0162] In one example, a vehicle side is equipped with a processor, and the vehicle side processor includes a decryption module, and the decryption module stores a first key that is the same as the vehicle key. Specifically, the vehicle side Bluetooth communication module is connected to the vehicle side processor. The vehicle side processor obtains a first encrypted file in the vehicle key information from the vehicle side Bluetooth communication module, and decrypts the first encrypted file using the first key to obtain a first random number. The vehicle random number stored locally on the vehicle side is compared with the first random number.

[0163] Based on the above example, it can be known that the first key can also be obtained by calculating the key random number. In another example, the key random number is preset on the vehicle side. The vehicle side processor uses the same key generation function as the car key to calculate the first key on the key random number. The first encrypted file is decrypted using the calculated first key to obtain the first random number. The vehicle random number stored locally on the vehicle side is compared with the first random number.

[0164] Step 606. If the first random number is consistent with the vehicle random number, the vehicle end encrypts the vehicle key random number to obtain a second encrypted file.

[0165] In one example, the vehicle-side processor further includes an encryption module, which stores a second key. When the first random number decrypted by the vehicle-side is consistent with the vehicle random number, the vehicle-side processor encrypts the vehicle key random number using the second key to obtain a second encrypted file. The encryption method of the second key is not limited. For example, the encryption method of the second key can be symmetric encryption.

[0166] Based on the above example, it can be known that the second key can also be calculated by the key random number. In another example, when the first random number decrypted by the vehicle side is consistent with the vehicle random number, the vehicle side processor calculates the second key based on the key random number using the key generation function. The second encrypted file is obtained by encrypting the car key random number with the second key.

[0167] Step 607: The vehicle end sends the second encrypted file to the vehicle key. Correspondingly, the vehicle key receives the second encrypted file from the vehicle end. The second encrypted file is obtained by encrypting the random number of the vehicle key by the vehicle end.

[0168] In one example, the vehicle sends the second encrypted file to the car key through the Bluetooth communication module of the vehicle, and the car key receives the second encrypted file through the Bluetooth communication module of the car key.

[0169] Step 608: The car key parses the second encrypted file to obtain a second random number.

[0170] In one example, the processor of the car key further includes a decryption module, which stores a second key identical to that of the vehicle end. The processor of the car key obtains a second encrypted file from the Bluetooth communication module of the car key, and decrypts the second encrypted file using the second key to obtain a second random number. The car key random number stored locally in the car key is compared with the second random number.

[0171] Based on the above example, it can be known that the second key can also be calculated by a key random number. In another example, the processor of the car key calculates the second key based on the key random number using the same key generation function as the vehicle end. The second encrypted file is decrypted using the calculated second key to obtain a second random number. The car key random number stored locally in the car key is compared with the second random number.

[0172] It should be noted that the key generation function for generating the second key may be the same as or different from the generation function for generating the first key. However, the key generation function for generating the first key on the vehicle side and the vehicle key should be the same, and the key generation function for generating the second key on the vehicle side and the vehicle key should be the same.

[0173] Step 609: If the second random number is consistent with the random number of the car key, the car key sends a pairing success message to the vehicle end. Correspondingly, the vehicle end receives the pairing success message from the car key.

[0174] In one example, the car key sends a pairing success message to the vehicle end through the Bluetooth communication module of the car key, and the vehicle end receives the pairing success message from the car key through the Bluetooth communication module of the vehicle end. It can be understood that the car key sends a pairing success message to the vehicle end, indicating that the vehicle end verifies that the first random number is consistent with the vehicle random number, and the car key verifies that the second random number is consistent with the car key random number.

[0175] Step 610: After the vehicle terminal is successfully paired with the vehicle key, the vehicle terminal sends a second binding request to the vehicle server. Correspondingly, the vehicle server receives the second binding request from the vehicle terminal.

[0176] The second binding request includes the car key information and the vehicle information, so that the vehicle server binds the car key information and the vehicle information.

[0177] In one example, the vehicle side is configured with a network communication module, and the vehicle side sends a second binding request to the vehicle server through the network communication module of the vehicle side.

[0178] Based on the above example, it can be seen that the car key decrypts the second encrypted file through the second key to obtain the second random number, and compares the second random number with the car key random number stored locally in the car key. If the car key random number is consistent with the second random number, a pairing success message is sent to the vehicle end through the Bluetooth communication module of the car key. The Bluetooth communication module on the vehicle end receives the pairing success message and sends the pairing success message to the processor on the vehicle end. The vehicle end is also equipped with a network communication module, and the network communication module on the vehicle end is connected to the processor on the vehicle end. Based on the pairing success message, the processor on the vehicle end sends a second binding request to the vehicle server through the network communication module on the vehicle end.

[0179] Step 611. The vehicle server binds the vehicle key information and the vehicle information.

[0180] In one example, the vehicle server receives the second binding request, extracts the car key information and the vehicle information from the second binding request, and binds the car key information and the vehicle information in the second binding request, thereby implementing binding of the car key information and the vehicle information on the vehicle server.

[0181] It should be noted that, in the above example, if the first random number is inconsistent with the vehicle random number, or the second random number is inconsistent with the car key random number, the car key and the vehicle end are paired unsuccessfully. The car key binding method provided in the embodiment of the present application can be re-executed from step 601.

[0182] The car key binding method provided by the embodiment of the present application, through the Bluetooth data communication between the car end and the car key, the car key encrypts the vehicle random number to obtain a first encrypted file and sends it to the car end, the car end decrypts the first encrypted file to obtain a first random number, and compares the first random number with the vehicle random number. If the first random number is consistent with the vehicle random number, the car end encrypts the car key random number to obtain a second encrypted file and sends it to the car key, the car key decrypts the second encrypted file to obtain a second random number, and compares the second random number with the car key random number. If the second random number is consistent with the car key random number, the car key sends a pairing success message to the car end, and the car end sends a second binding request to the vehicle server based on the pairing success message. The vehicle server binds the car key information with the vehicle information based on the second binding request. On the one hand, the car key is paired with the car end, and the car key can control the smart vehicle, improve the convenience of vehicle use, and improve the intelligence of the car key. On the other hand, the car key information and the vehicle information are bound on the vehicle server, which is convenient for the staff to manage and improve the security of the vehicle and the car key.

[0183] An embodiment of the present application provides a vehicle key upgrading device. Figure 7 This is a schematic diagram of the structure of the vehicle key upgrade device provided in this application. The vehicle key upgrade device can be integrated in the processor of the terminal device. Figure 7 As shown, the vehicle key upgrading device 70 includes: a display module 701 , a receiving module 702 , an acquiring module 703 , and a sending module 704 .

[0184] The display module 701 is used to respond to the operation of upgrading the car key on the first interface and display the second interface, where the second interface includes operation guidance information, and the operation guidance information is used to indicate the operation steps for triggering the car key to enter the upgrade mode.

[0185] The receiving module 702 is used to receive an upgrade request from a vehicle key.

[0186] The acquisition module 703 is used to acquire the latest software upgrade package of the vehicle key from the vehicle key server according to the upgrade request.

[0187] The sending module 704 is used to send a software upgrade package to the car key so that the car key completes the software upgrade.

[0188] In an optional manner, the operation guidance information includes at least one of the following information:

[0189] First information, the first information is used to indicate a first preset time length for long pressing the vehicle key switch;

[0190] Second information, the second information is used to indicate a preset number of times the vehicle key switch is pressed within a second preset time period;

[0191] The third information is used to indicate a third preset time length for pressing the vehicle key switch;

[0192] The fourth information is used to instruct the vehicle key to enter the upgrade mode.

[0193] In an optional manner, the display module 701 is also used to display a third interface after receiving an upgrade request and before the car key completes the software upgrade, where the third interface includes first indication information, and the first indication information is used to indicate the current upgrade progress of the car key.

[0194] The display module 701 is further used to display a fourth interface after the car key completes the software upgrade, and the fourth interface includes second indication information, and the second indication information is used to indicate that the car key completes the software upgrade.

[0195] In an optional manner, the vehicle key upgrade device further includes: a processing module 705. The processing module 705 is configured to determine whether the vehicle key is a vehicle key bound to the terminal device according to the identification information of the vehicle key in the upgrade request.

[0196] The acquisition module 703 is further used to acquire the latest software upgrade package of the car key from the car key server if it is determined that the car key is a car key bound to the terminal device.

[0197] In an optional manner, the sending module 704 is also used to respond to the car key scanning operation on the fifth interface, and send the car key image captured by the camera to the car key server so that the car key server can recognize the car key image, and the car key image includes an identification code related to the car key information.

[0198] The acquisition module 703 is further used to acquire the car key information from the car key server; the car key information is obtained by the car key server identifying the identification code in the car key image.

[0199] The sending module 704 is further used to send a first binding request to the vehicle server, where the first binding request includes the vehicle key information and the identification information of the terminal device, so that the vehicle server binds the vehicle key information with the user information bound to the terminal device.

[0200] The above-mentioned car key upgrading device can execute the car key upgrading method provided by the above-mentioned method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be described in detail here.

[0201] An embodiment of the present application provides a vehicle key binding device. Figure 8 A schematic diagram of the structure of the car key binding device provided in this application Figure 1 The vehicle key binding device can be integrated into the vehicle server. Figure 8 As shown, the vehicle key binding device 80 includes: a receiving module 801 , an acquiring module 802 , and a processing module 803 .

[0202] The receiving module 801 is used to receive a first binding request from a terminal device, where the first binding request includes vehicle key information and identification information of the terminal device.

[0203] The acquisition module 802 is used to acquire user information bound to the terminal device from the database of the vehicle server according to the identification information of the terminal device.

[0204] Processing module 803, used to bind the car key information with the user information;

[0205] The receiving module 801 is further used to receive a second binding request from the vehicle end, where the second binding request includes vehicle key information and vehicle information.

[0206] The processing module 803 is also used to bind the car key information and the vehicle information.

[0207] The above-mentioned car key binding device can execute the car key binding method provided by the above-mentioned method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0208] An embodiment of the present application also provides a vehicle key binding device. Fig. 9 A schematic diagram of the structure of the car key binding device provided in this application Figure 2 The vehicle key binding device can be integrated into the vehicle-side processor. Fig. 9 As shown, the vehicle key binding device 90 includes: a sending module 901.

[0209] The sending module 901 is used to send a second binding request to the vehicle server after the vehicle end is successfully paired with the vehicle key. The second binding request includes the vehicle key information and the vehicle information, so that the vehicle server binds the vehicle key information and the vehicle information.

[0210] In an optional manner, the vehicle key binding device further includes: a receiving module 902 and a processing module 903 .

[0211] The sending module 901 is further used to send vehicle information to the car key in response to a pairing request initiated by the car key, where the vehicle information includes a vehicle identification and a vehicle random number.

[0212] The receiving module 902 is used to receive car key information from a car key, where the car key information includes identification information of the car key, software version of the car key, a car key random number and a first encrypted file, where the first encrypted file is obtained by encrypting the vehicle random number with the car key.

[0213] The processing module 903 is used to parse the first encrypted file to obtain a first random number.

[0214] The processing module 903 is also used to encrypt the car key random number if the first random number is consistent with the vehicle random number to obtain a second encrypted file, and send the second encrypted file to the car key so that the car key parses the second encrypted file.

[0215] The receiving module 902 is further configured to receive a pairing success message from the vehicle key.

[0216] The above-mentioned car key binding device can execute the car key binding method provided by the above-mentioned method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0217] An embodiment of the present application also provides a vehicle key binding device. Fig.10 A schematic diagram of the structure of the car key binding device provided in this application Figure 3 The vehicle key binding device can be integrated into the processor of the vehicle key. Fig.10 As shown, the vehicle key binding device 100 includes: a sending module 1001 , a receiving module 1002 , and a processing module 1003 .

[0218] The sending module 1001 is used to send a pairing request to the vehicle end, and the pairing request is used to request vehicle information.

[0219] The receiving module 1002 is used to receive vehicle information from the vehicle side, where the vehicle information includes a vehicle identification and a vehicle random number.

[0220] The processing module 1003 is used to encrypt the vehicle random number in the vehicle information to obtain a first encrypted file.

[0221] The sending module 1001 is also used to send car key information to the vehicle end, where the car key information includes identification information of the car key, software version of the car key, a car key random number and a first encrypted file, so that the vehicle end can parse the first encrypted file.

[0222] The receiving module 1002 is also used to receive a second encrypted file from the vehicle end, where the second encrypted file is obtained by encrypting the random number of the vehicle key at the vehicle end.

[0223] The processing module 1003 is further used to parse the second encrypted file to obtain a second random number.

[0224] The sending module 1001 is also used to send a pairing success message to the vehicle end if the second random number is consistent with the car key random number.

[0225] The above-mentioned car key binding device can execute the car key binding method provided by the above-mentioned method embodiment. Its implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0226] An embodiment of the present application provides an electronic device, Fig.11 This is a schematic diagram of the structure of the electronic device provided in the present application. The embodiments of the present application do not limit the specific implementation of the electronic device.

[0227] like Fig.11 As shown, the electronic device 110 may include: a processor 1101, a memory 1102, a communications interface 1103 and a communications bus 1104. The processor 1101, the memory 1102 and the communications interface 1103 communicate with each other via the communications bus 1104.

[0228] The processor 1101 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application. The one or more processors included in the electronic device may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0229] The memory 1102 is used to store a program 1105. The program 1105 may include a program code, which includes computer executable instructions.

[0230] The memory 1102 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0231] The communication interface 1103 is used to communicate with other devices such as a client or a network element of another server, etc. The processor 1101 is used to execute a program 1105, and specifically can execute the relevant steps of the above method embodiment.

[0232] The communication bus 1104 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0233] The above-mentioned electronic device can execute the car key upgrading method or car key binding method provided by the above-mentioned method embodiment. The implementation principle and technical effect are similar, and this embodiment will not be described in detail here.

[0234] An embodiment of the present application provides a computer-readable storage medium, in which at least one executable instruction is stored. When the executable instruction is executed on an electronic device, the electronic device executes the car key upgrade method or car key binding method provided by the above method embodiment. The implementation principle and technical effect are similar, and are not described in detail in this embodiment.

[0235] The computer-readable storage medium mentioned above can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory, electrically erasable programmable read-only memory, erasable programmable read-only memory, programmable read-only memory, read-only memory, magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special purpose computer.

[0236] Optionally, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.

[0237] An embodiment of the present application provides a computer program product, which includes a computer program, which is stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the car key upgrade method or car key binding method provided in the above embodiment. The implementation principle and technical effect are similar, and this embodiment will not be repeated here.

[0238] The algorithms or displays provided by the embodiments of the present application are not inherently related to any specific computer, virtual system or other device. In addition, the embodiments of the present application are not directed to any specific programming language.

[0239] In the specification provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. Similarly, in order to simplify the application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the embodiments of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are thus clearly incorporated into the specific embodiment, wherein each claim itself is used as a separate embodiment of the application.

[0240] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0241] It should be noted that the above embodiments illustrate the present application rather than limit the present application, and that those skilled in the art may design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be constructed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of multiple such elements. The present application may be implemented by means of hardware including several different elements and by means of a suitably programmed computer. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

[0242] The serial numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above are only preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for upgrading a vehicle key, characterized in that: Applied to a terminal device, the terminal device includes a display screen, the display screen displays a first interface, and the method includes: In response to the operation of upgrading the car key on the first interface, displaying a second interface, wherein the second interface includes operation guidance information, and the operation guidance information is used to indicate the operation steps for triggering the car key to enter the upgrade mode; receiving upgrade requests from vehicle keys; Obtaining the latest software upgrade package of the vehicle key from the vehicle key server according to the upgrade request; The software upgrade package is sent to the vehicle key, so that the vehicle key completes the software upgrade.

2. The method according to claim 1, characterized in that The operation guidance information includes at least one of the following information: First information, the first information is used to indicate a first preset time length for long pressing the vehicle key switch; second information, the second information being used to indicate a preset number of times the vehicle key switch is pressed within a second preset time period; third information, the third information is used to indicate a third preset time length for long pressing the vehicle key switch; Fourth information, the fourth information is used to instruct the vehicle key to enter an upgrade mode.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: After receiving the upgrade request and before the vehicle key completes the software upgrade, a third interface is displayed, wherein the third interface includes first indication information, and the first indication information is used to indicate the current upgrade progress of the vehicle key; After the vehicle key completes the software upgrade, a fourth interface is displayed, wherein the fourth interface includes second indication information, and the second indication information is used to indicate that the vehicle key completes the software upgrade.

4. The method according to any one of claims 1 to 3, characterized in that: The obtaining the latest software upgrade package of the vehicle key from the vehicle key server according to the upgrade request includes: Determining, according to the identification information of the car key in the upgrade request, whether the car key is a car key bound to the terminal device; If it is determined that the car key is the car key bound to the terminal device, the latest software upgrade package of the car key is obtained from the car key server.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to a car key scanning operation on the fifth interface, sending a car key image captured by a camera to the car key server, wherein the car key image includes an identification code related to the car key information; Acquire car key information from the car key server; the car key information is obtained by the car key server recognizing the identification code in the car key image; A first binding request is sent to a vehicle server, wherein the first binding request includes the vehicle key information and identification information of the terminal device, so that the vehicle server binds the vehicle key information with user information bound to the terminal device.

6. A method for binding a car key, characterized in that: Applied to a vehicle server, the method comprises: Receiving a first binding request from a terminal device, wherein the first binding request includes vehicle key information and identification information of the terminal device; According to the identification information of the terminal device, acquiring user information bound to the terminal device from a database of the vehicle server; Binding the vehicle key information with the user information; receiving a second binding request from the vehicle end, wherein the second binding request includes vehicle key information and vehicle information; The vehicle key information and the vehicle information are bound together.

7. A method for binding a car key, characterized in that: Applied to the vehicle side, the method includes: After the vehicle end is successfully paired with the vehicle key, a second binding request is sent to the vehicle server, wherein the second binding request includes the vehicle key information and the vehicle information, so that the vehicle server binds the vehicle key information and the vehicle information.

8. The method according to claim 7, characterized in that The pairing process of the vehicle end and the vehicle key includes: In response to a pairing request initiated by the vehicle key, sending vehicle information to the vehicle key, the vehicle information including a vehicle identification and a vehicle random number; Receiving vehicle key information from the vehicle key, the vehicle key information including identification information of the vehicle key, a software version of the vehicle key, a vehicle key random number and a first encrypted file, wherein the first encrypted file is obtained by encrypting the vehicle random number with the vehicle key; Parsing the first encrypted file to obtain a first random number; If the first random number is consistent with the vehicle random number, encrypt the vehicle key random number to obtain a second encrypted file, and send the second encrypted file to the vehicle key so that the vehicle key can parse the second encrypted file; A pairing success message is received from the vehicle key.

9. A method for binding a car key, characterized in that: Applied to a car key, the method comprises: Sending a pairing request to the vehicle end, wherein the pairing request is used to request vehicle information; Receiving vehicle information from the vehicle end, the vehicle information including a vehicle identification and a vehicle random number; Encrypting the vehicle random number in the vehicle information to obtain a first encrypted file; Sending car key information to the vehicle end, the car key information including identification information of the car key, a software version of the car key, a car key random number and the first encrypted file, so that the vehicle end can parse the first encrypted file; Receiving a second encrypted file from the vehicle end, where the second encrypted file is obtained by encrypting the vehicle key random number by the vehicle end; Parsing the second encrypted file to obtain a second random number; If the second random number is consistent with the car key random number, a pairing success message is sent to the vehicle end.

10. An electronic device, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the method according to any one of claims 1 to 9.