Method, device and equipment for upgrading USB flash disk of automobile instrument system and storage medium

By using the encryption and decryption mechanism of public and private keys in the automobile instrument system, the problem of version inconsistency during the USB flash drive upgrade process is solved, and the accurate and effective upgrade of the automobile instrument system is achieved.

CN120744904APending Publication Date: 2025-10-03DONGFENG AUTOMOBILE ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510834421.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-20
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

In the prior art, when upgrading automobile instruments using a USB flash drive, it is impossible to effectively control the on-site situation, resulting in inconsistencies between the upgraded version and the released version, making it impossible to achieve accurate and effective system upgrades.

Method used

By creating a public key and a private key, the target file of the instrument configuration information request instruction is encrypted and written to a USB flash drive. The instrument configuration information is decrypted using the private key and an upgrade instruction is generated. The public key and private key authentication mechanism are combined to ensure the accuracy and effectiveness of the upgrade package.

Benefits of technology

It achieves accurate and effective upgrades of the vehicle instrument system, ensuring that only versions that meet the requirements can be upgraded, avoiding version inconsistency issues.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120744904A_ABST
    Figure CN120744904A_ABST
Patent Text Reader

Abstract

The invention discloses an automobile instrument system USB flash disk upgrading implementation method and device, equipment and a storage medium, and relates to the technical field of vehicle intelligent control, and the method comprises the steps: creating a corresponding public key and a private key, encrypting a target file containing an instrument configuration information request instruction based on the public key, and writing the encrypted target file into a USB flash disk; decrypting a target file inserted into a USB flash disk of the automobile instrument based on the private key to obtain and execute an instrument configuration information request instruction so as to obtain instrument configuration information; according to the obtained instrument configuration information, obtaining an upgrade package of the current version needing to be upgraded of the automobile instrument, generating an upgrade instruction for representing the current version needing to be upgraded of the automobile instrument based on the public key, and writing the upgrade package and the upgrade execution instruction into a USB flash disk; and decrypting the upgrading instruction based on the private key to obtain a current version of the motormeter needing to be upgraded, comparing the version with current motormeter information, and upgrading the motormeter based on the upgrading package according to a comparison result. The automobile instrument system can be accurately and effectively upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle intelligent control technology, and in particular to a method, device, equipment and storage medium for implementing USB flash drive upgrade of an automobile instrument system. Background Art

[0002] An automotive instrument cluster is the interface of all the car's instruments, displaying the vehicle's operating status and other information. It serves as the interface between the driver and the vehicle. Currently, automotive instrument clusters typically utilize full LCD displays, which offer richer display content than traditional instruments. They can be personalized to present diverse information such as navigation, tire pressure, and driving mode, and can also interface with onboard systems.

[0003] In practice, automotive instrument cluster systems are often upgraded using secure boot upgrades from USB flash drives, depending on functional requirements. However, during USB (Universal Serial Bus) upgrades, there's no control over the system, leading to inconsistencies between the upgraded version and the released version. Therefore, effectively upgrading automotive instrument cluster systems using USB flash drives has become a pressing issue. Summary of the Invention

[0004] The present application provides a method, apparatus, device and storage medium for implementing USB flash drive upgrade of an automobile instrument system, which can achieve accurate and effective upgrade of the automobile instrument system.

[0005] In a first aspect, an embodiment of the present application provides a method for implementing a USB flash drive upgrade of an automobile instrument system, the method comprising: Create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; Decrypting a target file on a USB flash drive inserted into a car instrument using the private key, obtaining the instrument configuration information request instruction and executing the instruction to obtain the instrument configuration information; Obtaining an upgrade package for the version of the vehicle instrument that currently needs to be upgraded based on the obtained instrument configuration information, generating an upgrade instruction for indicating the version of the vehicle instrument that currently needs to be upgraded based on the public key, and writing the upgrade package and the upgrade execution instruction into a USB flash drive; The upgrade instruction is decrypted based on the private key to obtain the current version of the automobile instrument that needs to be upgraded, and the version is compared with the current automobile instrument information. The automobile instrument is upgraded based on the upgrade package according to the comparison result.

[0006] In conjunction with the first aspect, in one embodiment, creating corresponding public and private keys, encrypting a target file containing a meter configuration information request instruction based on the public key, and then writing the encrypted file to a USB flash drive specifically includes: Creating a corresponding pair of public and private keys, and storing the private key in the vehicle meter; Create an instrument configuration information request instruction, and write the created instrument configuration information request instruction into the created target file; The target file is encrypted based on the public key, and the encrypted target file is written to the USB flash drive.

[0007] In conjunction with the first aspect, in one embodiment, decrypting a target file on a USB flash drive inserted into a vehicle instrument panel based on the private key to obtain and execute the instrument configuration information request instruction to obtain the instrument configuration information specifically includes: Insert the USB drive containing the target file into the USB port of the car instrument; After the car instrument is detected and the USB flash drive is obtained, the target file is decrypted using the private key to obtain the instrument configuration information request instruction; The instrument configuration information request instruction is executed to obtain the instrument configuration information and write it into the U disk, and the connection between the U disk and the USB interface of the vehicle instrument is disconnected.

[0008] In conjunction with the first aspect, in one embodiment, obtaining an upgrade package for a vehicle instrument that currently requires an upgrade based on the obtained instrument configuration information, generating an upgrade instruction for indicating the vehicle instrument that currently requires an upgrade based on the public key, and writing the upgrade package and the upgrade execution instruction to a USB flash drive specifically includes: Based on the client, the instrument configuration information in the U disk is read, and a connection is established between the client and the remote server to send the read instrument configuration information to the remote server; Based on the instrument configuration information, the remote server returns all currently upgradeable version information of the automobile instrument to the client; The client selects the version to be upgraded based on the information of all currently upgradeable versions of the car instrument returned by the remote server, and downloads the upgrade package corresponding to the currently upgraded version to the USB flash drive; Generate an upgrade instruction for indicating the current version of the vehicle instrument that needs to be upgraded, write the generated upgrade instruction into a preset file, encrypt the preset file using the public key, and then write it into a USB flash drive; The upgrade package is encrypted using a public key on the remote server.

[0009] In conjunction with the first aspect, in one embodiment, decrypting the upgrade instruction based on the private key to obtain the current version of the vehicle instrument to be upgraded and comparing it with the current vehicle instrument information, and upgrading the vehicle instrument based on the upgrade package according to the comparison result, specifically includes: Insert the USB flash drive with the upgrade package and preset file into the USB port of the car instrument, decrypt the preset file with the public key to obtain the upgrade instruction, and obtain the current version of the car instrument that needs to be upgraded; Compare the currently updated version of the vehicle instrument to be upgraded with the current vehicle instrument information; According to the comparison result and after the comparison is passed, the upgrade package is decrypted by the private key, and the upgrade of the automobile instrument is implemented based on the decrypted upgrade package.

[0010] In conjunction with the first aspect, in one embodiment, Based on the current car instrument information, determine whether the current version of the car instrument to be upgraded matches the car instrument: If yes, the comparison passes; If not, the comparison fails.

[0011] In combination with the first aspect, in one implementation, the instrument configuration information includes an instrument MCU version, an instrument SoC version, instrument configuration parameter information, and a vehicle VIN.

[0012] In a second aspect, an embodiment of the present application provides a device for implementing a USB flash drive upgrade of an automobile instrument system, the device comprising: A creation module is used to create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; an execution module, configured to decrypt a target file on a USB flash drive inserted into a vehicle instrument panel based on the private key, obtain the instrument configuration information request instruction, and execute the instruction to obtain the instrument configuration information; an acquisition module, configured to acquire an upgrade package for the current version of the automobile instrument to be upgraded based on the obtained instrument configuration information, generate an upgrade instruction for indicating the current version of the automobile instrument to be upgraded based on the public key, and write the upgrade package and the upgrade execution instruction into a USB flash drive; The upgrade module is used to decrypt the upgrade instruction based on the private key to obtain the current version of the automobile instrument that needs to be upgraded and compare it with the current automobile instrument information, and upgrade the automobile instrument based on the upgrade package according to the comparison result.

[0013] In a third aspect, an embodiment of the present application provides a device for implementing a U disk upgrade of an automobile instrument system, wherein the device comprises a processor, a memory, and a U disk upgrade implementation program for an automobile instrument system stored in the memory and executable by the processor, wherein when the U disk upgrade implementation program for the automobile instrument system is executed by the processor, the steps of the above-mentioned method for implementing a U disk upgrade of the automobile instrument system are implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a car instrument system U disk upgrade implementation program is stored. When the car instrument system U disk upgrade implementation program is executed by a processor, the steps of the above-mentioned car instrument system U disk upgrade implementation method are implemented.

[0015] The beneficial effects of the technical solutions provided in the embodiments of the present application include: By creating corresponding public and private keys, and encrypting a target file containing an instrument configuration information request instruction based on the public key and then writing it to a USB flash drive, then decrypting the target file on the USB flash drive inserted into the automobile instrument based on the private key, obtaining the instrument configuration information request instruction and executing it to obtain the instrument configuration information, then obtaining an upgrade package of the automobile instrument's current version to be upgraded based on the obtained instrument configuration information, and generating an upgrade instruction for indicating the automobile instrument's current version to be upgraded based on the public key, writing the upgrade package and the upgrade execution instruction to the USB flash drive, then decrypting the upgrade instruction based on the private key to obtain the automobile instrument's current version to be upgraded and comparing it with the current automobile instrument information, and upgrading the automobile instrument based on the upgrade package according to the comparison result. By adding an authentication mechanism, only versions that meet certain conditions can be upgraded, thereby achieving accurate and effective upgrade of the automobile instrument system based on the USB flash drive. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flowchart of the method for implementing the USB flash drive upgrade of the automobile instrument system in this application; Figure 2 This is a functional module diagram of the device for implementing the USB flash drive upgrade of the automobile instrument system in this application; Figure 3 This is a hardware diagram of the device used to implement the USB flash drive upgrade of the vehicle instrument system in this application. DETAILED DESCRIPTION

[0017] In order to enable those skilled in the art to better understand the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0018] In order to make the objectives, technical solutions and advantages of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.

[0019] In a first aspect, an embodiment of the present application provides a method for implementing a USB flash drive upgrade of an automobile instrument system.

[0020] In one embodiment, referring to Figure 1 , Figure 1 This is a flow chart of the method for implementing the USB flash drive upgrade of the automobile instrument system in this application. Figure 1 As shown, the method for implementing the USB flash drive upgrade of the automobile instrument system includes: S1: Create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; S2: decrypting the target file of the USB flash drive inserted into the vehicle instrument based on the private key, obtaining the instrument configuration information request instruction and executing it to obtain the instrument configuration information; S3: Obtaining an upgrade package for the current version of the vehicle instrument to be upgraded based on the obtained instrument configuration information, generating an upgrade instruction for indicating the current version of the vehicle instrument to be upgraded based on the public key, and writing the upgrade package and upgrade execution instruction into a USB flash drive; S4: Decrypting the upgrade instruction based on the private key to obtain the current version of the automobile instrument that needs to be upgraded and comparing it with the current automobile instrument information, and upgrading the automobile instrument based on the upgrade package according to the comparison result.

[0021] Furthermore, in one embodiment, a corresponding public key and private key are created, and a target file containing a meter configuration information request instruction is encrypted based on the public key and then written to a USB flash drive, specifically including: S101: Create a corresponding pair of public and private keys, and store the private key in a car meter; S102: Create an instrument configuration information request instruction, and write the created instrument configuration information request instruction into the created target file; S103: Encrypt the target file based on the public key, and write the encrypted target file into the USB flash drive.

[0022] Specifically, a public key and a private key are created, where the private key runs in the car instrument and the public key is used by the client. Then, an instrument configuration information request instruction is created to obtain the instrument configuration information, and the created instrument configuration information request instruction is written into the created target file. The target file is encrypted using the public key, and the encrypted target file is copied to a USB flash drive.

[0023] Furthermore, in one embodiment, decrypting a target file on a USB flash drive inserted into a car instrument panel based on the private key, obtaining the instrument configuration information request instruction and executing the instruction to obtain the instrument configuration information specifically includes: S201: inserting the USB disk containing the target file into the USB port of the vehicle instrument panel; S202: After the vehicle instrument detects and obtains the USB flash drive, the target file is decrypted using the private key to obtain an instrument configuration information request instruction; S203: Execute the instrument configuration information request instruction to obtain the instrument configuration information and write it into the USB disk, and disconnect the USB disk from the USB interface of the vehicle instrument.

[0024] Specifically, a USB flash drive containing a target file is inserted into the USB port of a car instrument. After the car instrument detects the USB flash drive, it uses a private key to decrypt the target file in the USB flash drive, obtains an instrument configuration information request instruction, and executes corresponding operations according to the instrument configuration information request instruction to obtain the instrument configuration information. The obtained instrument configuration information is then written to the USB flash drive, and the USB flash drive is unplugged.

[0025] In this application, instrument configuration information includes the instrument MCU (Micro Controller Unit) version, the instrument SoC (System on Chip) version, instrument configuration parameter information, and the vehicle VIN (Vehicle Identification Number). Instrument configuration parameter information includes basic instrument configuration parameters.

[0026] Furthermore, in one embodiment, an upgrade package for the version of the automobile instrument currently to be upgraded is obtained based on the obtained instrument configuration information, and an upgrade instruction for indicating the version of the automobile instrument currently to be upgraded is generated based on the public key, and the upgrade package and the upgrade execution instruction are written to a USB flash drive, specifically including: S301: Reading instrument configuration information from a USB flash drive based on the client, and establishing a connection between the client and a remote server to send the read instrument configuration information to the remote server; S302: Based on the instrument configuration information, the remote server returns all currently upgradeable version information of the automobile instrument to the client; S303: The client selects the version to be upgraded based on the information of all currently upgradeable versions of the vehicle instrument returned by the remote server, and downloads the upgrade package corresponding to the currently upgraded version to a USB flash drive; S304: Generate an upgrade instruction for indicating the current version of the vehicle instrument that needs to be upgraded, write the generated upgrade instruction into a preset file, encrypt the preset file using the public key, and then write it into a USB flash drive; The upgrade package is encrypted using a public key on the remote server.

[0027] It should be noted that a remote server stores different versions of various automotive instrument cluster software, and a client connects to the remote server. After the corresponding client software reads the instrument cluster configuration information from a USB flash drive, it sends it to the remote server. The remote server then returns information about all currently available upgradeable versions of the automotive instrument cluster to the client based on the instrument cluster configuration information. Based on the information returned by the remote server, the client selects the current version to be upgraded, downloads the upgrade package corresponding to the current version to the USB flash drive, and then generates an upgrade instruction representing the current version of the automotive instrument cluster to be upgraded. The generated upgrade instruction is written to a preset file, which is encrypted using the public key before being written to the USB flash drive.

[0028] The downloaded upgrade package is encrypted using the public key on the remote server and is no longer encrypted locally on the client. An upgrade policy typically specifies which software can be upgraded to a preset version. The preset file describes the instructions for upgrading the current vehicle instrument cluster.

[0029] Furthermore, in one embodiment, decrypting the upgrade instruction based on the private key to obtain the current version of the vehicle instrument to be upgraded and comparing it with the current vehicle instrument information, and upgrading the vehicle instrument based on the upgrade package according to the comparison result, specifically includes: S401: inserting a USB flash drive containing an upgrade package and a preset file into a USB port of a vehicle meter, decrypting the preset file using the public key to obtain an upgrade instruction, and obtaining the current version of the vehicle meter that needs to be upgraded; S402: Compare the obtained version of the vehicle instrument that needs to be upgraded with the current vehicle instrument information; S403: After the comparison is passed, the upgrade package is decrypted by the private key according to the comparison result, and the vehicle instrument is upgraded based on the decrypted upgrade package.

[0030] Specifically, a USB flash drive containing an upgrade package and a preset file is inserted into the car instrument. The car instrument searches for the preset file and uses the public key to decrypt it to obtain an upgrade instruction, thereby obtaining the current version of the car instrument that needs to be upgraded. The obtained current version of the car instrument that needs to be upgraded is compared with the current car instrument information. After the comparison is passed, the upgrade package is decrypted using the private key, and the car instrument is upgraded based on the decrypted upgrade package.

[0031] Specifically, based on the current vehicle instrument information, it is determined whether the currently upgraded version of the vehicle instrument matches the vehicle instrument: If yes, the comparison passes; If not, the comparison fails.

[0032] The following is a detailed description of the method for implementing the USB flash drive upgrade of the automobile instrument system of the present application.

[0033] First, create a public key and a private key, then create an xxx.txt file. The xxx.txt file contains the instrument configuration information request instruction. Use the public key to encrypt the xxx.txt file to obtain the yyy.txt file. Copy the yyy.txt file to a USB flash drive. Insert the USB flash drive containing the yyy.txt file into the car instrument. After the car instrument detects the USB flash drive, it uses the private key to decrypt the yyy.txt file in the USB flash drive. When the yyy.txt file is successfully decrypted, it generates the yyy.txt file, reads the contents of the yyy.txt file, obtains the instrument configuration information request instruction, executes the corresponding operation, obtains the instrument configuration information and writes it to the USB flash drive, and then unplugs the USB flash drive. The client reads the instrument configuration information from the USB flash drive and establishes a connection between the client and the remote server to send the read instrument configuration information to the remote server. Based on the instrument configuration information, the remote server returns all the currently upgradeable versions of the automobile instrument to the client. The client selects the current version to be upgraded based on the information of all the currently upgradeable versions of the automobile instrument returned by the remote server, downloads the upgrade package corresponding to the current version to be upgraded to the USB flash drive, generates an upgrade instruction using the public key, writes the upgrade instruction into the zzz.txt file and writes it to the USB flash drive; Insert the USB flash drive containing the zzz.txt file and the upgrade package into the car instrument. The car instrument searches for the zzz.txt file and uses the public key to decrypt it to obtain the upgrade instructions, thereby obtaining the current version of the car instrument that needs to be upgraded. The decrypted information is compared with the information of the current instrument. After the comparison is successful, the upgrade package is decrypted using the private key and the decrypted file is updated to the car instrument system.

[0034] The method for implementing USB flash drive upgrade of an automobile instrument system in an embodiment of the present application creates corresponding public and private keys, encrypts a target file containing an instrument configuration information request instruction based on the public key, and writes the encrypted file to a USB flash drive. Then, the target file inserted into the USB flash drive is decrypted based on the private key to obtain the instrument configuration information request instruction and execute it to obtain the instrument configuration information. Then, an upgrade package for the current version of the automobile instrument to be upgraded is obtained based on the obtained instrument configuration information, and an upgrade instruction for indicating the current version of the automobile instrument to be upgraded is generated based on the public key. The upgrade package and the upgrade execution instruction are written to the USB flash drive. Then, the upgrade instruction is decrypted based on the private key to obtain the current version of the automobile instrument to be upgraded and compare it with the current automobile instrument information. According to the comparison result, the automobile instrument is upgraded based on the upgrade package. By adding an authentication mechanism, only versions that meet certain conditions can be upgraded, thereby achieving accurate and effective upgrade of the automobile instrument system based on the USB flash drive.

[0035] In a second aspect, an embodiment of the present application further provides a device for implementing USB flash drive upgrade of an automobile instrument system.

[0036] In one embodiment, referring to Figure 2 , Figure 2 This is a functional module diagram of the device for upgrading the automobile instrument system using a USB flash drive. Figure 2 As shown, the vehicle instrument system USB flash drive upgrade implementation device includes: a creation module, an execution module, an acquisition module, and an upgrade module.

[0037] The creation module is used to create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; the execution module is used to decrypt the target file on the USB flash drive inserted into the automobile instrument based on the private key, obtain the instrument configuration information request instruction and execute it to obtain the instrument configuration information; the acquisition module is used to obtain the upgrade package of the automobile instrument's current version to be upgraded based on the obtained instrument configuration information, and generate an upgrade instruction for indicating the automobile instrument's current version to be upgraded based on the public key, and write the upgrade package and upgrade execution instruction to the USB flash drive; the upgrade module is used to decrypt the upgrade instruction based on the private key to obtain the automobile instrument's current version to be upgraded and compare it with the current automobile instrument information, and upgrade the automobile instrument based on the upgrade package according to the comparison result.

[0038] In a third aspect, an embodiment of the present application provides a device for implementing a USB flash drive upgrade of an automobile instrument system. The device for implementing a USB flash drive upgrade of an automobile instrument system may be a personal computer (PC), a laptop computer, a server, or other device with data processing capabilities.

[0039] Reference Figure 3 , Figure 3 The hardware structure diagram of the USB flash drive upgrade implementation device for the automobile instrument system involved in the embodiment of the present application is as follows. In the embodiment of the present application, the USB flash drive upgrade implementation device for the automobile instrument system may include a processor, a memory, a communication interface, and a communication bus.

[0040] The communication bus may be of any type and is used to interconnect the processor, memory, and communication interface.

[0041] Communication interfaces include input / output (I / O), physical, and logical interfaces. These interfaces are used to interconnect internal components of the instrument cluster via USB flash drive upgrades, and to connect the device to other devices (such as other computing devices or user devices). Physical interfaces can include Ethernet, fiber optic, and ATM interfaces; user devices can include displays and keyboards.

[0042] The memory can be various types of storage media, such as random access memory (RAM), read-only memory (ROM), non-volatile RAM (NVRAM), flash memory, optical storage, hard disk, programmable ROM (PROM), erasable PROM (EPROM), electrically erasable PROM (EEPROM), etc.

[0043] The processor may be a general-purpose processor that can invoke a USB flash drive upgrade implementation program for an automobile instrument system stored in a memory and execute the USB flash drive upgrade implementation method for an automobile instrument system provided in the embodiments of the present application. For example, the general-purpose processor may be a central processing unit (CPU). The methods executed when the USB flash drive upgrade implementation program for an automobile instrument system is invoked can be referenced in the various embodiments of the USB flash drive upgrade implementation method for an automobile instrument system provided in the present application and will not be further described here.

[0044] Those skilled in the art will understand that Figure 3 The hardware structure shown in the figure does not constitute a limitation to the present application and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

[0045] In a fourth aspect, an embodiment of the present application also provides a computer-readable storage medium.

[0046] The computer-readable storage medium of the present application stores a vehicle instrument system U disk upgrade implementation program, wherein when the vehicle instrument system U disk upgrade implementation program is executed by a processor, the steps of the vehicle instrument system U disk upgrade implementation method as described above are implemented.

[0047] Among them, the method implemented when the automobile instrument system USB flash drive upgrade implementation program is executed can refer to the various embodiments of the automobile instrument system USB flash drive upgrade implementation method of this application, and will not be repeated here.

[0048] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit the "first", "second" and "third" to different types.

[0049] In the description of the embodiments of this application, the words "exemplary," "for example," or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as "exemplary," "for example," or "for example" in the embodiments of this application should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary," "for example," or "for example" is intended to present the relevant concepts in a concrete manner.

[0050] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.

[0051] In some processes described in the embodiments of the present application, multiple operations or steps are included that appear in a specific order. However, it should be understood that these operations or steps may not be performed in the order in which they appear in the embodiments of the present application or may be performed in parallel. The sequence numbers of the operations are only used to distinguish between different operations, and the sequence numbers themselves do not represent any order of execution. In addition, these processes may include more or fewer operations, and these operations or steps may be performed in sequence or in parallel, and these operations or steps may be combined.

[0052] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, or the part that contributes to the existing technology, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above and includes a number of instructions for enabling a terminal device to execute the methods described in each embodiment of this application.

[0053] 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 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 implementing a USB flash drive upgrade for an automobile instrument system, characterized in that: The method for implementing the USB flash drive upgrade of the automobile instrument system includes: Create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; Decrypting a target file on a USB flash drive inserted into a car instrument using the private key, obtaining the instrument configuration information request instruction and executing the instruction to obtain the instrument configuration information; Obtaining an upgrade package for the version of the vehicle instrument that currently needs to be upgraded based on the obtained instrument configuration information, generating an upgrade instruction for indicating the version of the vehicle instrument that currently needs to be upgraded based on the public key, and writing the upgrade package and the upgrade execution instruction into a USB flash drive; The upgrade instruction is decrypted based on the private key to obtain the current version of the automobile instrument that needs to be upgraded, and the version is compared with the current automobile instrument information. The automobile instrument is upgraded based on the upgrade package according to the comparison result.

2. The method for implementing a USB flash drive upgrade for an automobile instrument system according to claim 1, wherein: The process of creating a corresponding public key and private key, encrypting a target file containing a meter configuration information request instruction based on the public key, and then writing the encrypted file to a USB flash drive specifically includes: Creating a corresponding pair of public and private keys, and storing the private key in the vehicle meter; Create an instrument configuration information request instruction, and write the created instrument configuration information request instruction into the created target file; The target file is encrypted based on the public key, and the encrypted target file is written to the USB flash drive.

3. The method for implementing a USB flash drive upgrade for an automobile instrument system according to claim 1, wherein: The method of decrypting the target file of the USB flash drive inserted into the automobile instrument based on the private key, obtaining the instrument configuration information request instruction and executing it to obtain the instrument configuration information specifically includes: Insert the USB drive containing the target file into the USB port of the car instrument; After the car instrument is detected and the USB flash drive is obtained, the target file is decrypted using the private key to obtain the instrument configuration information request instruction; The instrument configuration information request instruction is executed to obtain the instrument configuration information and write it into the U disk, and the connection between the U disk and the USB interface of the vehicle instrument is disconnected.

4. The method for implementing a USB flash drive upgrade for an automobile instrument system according to claim 3, wherein: The method of obtaining an upgrade package of a currently required version of the automobile instrument based on the obtained instrument configuration information, generating an upgrade instruction for indicating the currently required version of the automobile instrument based on the public key, and writing the upgrade package and the upgrade execution instruction into a USB flash drive specifically includes: Based on the client, the instrument configuration information in the U disk is read, and a connection is established between the client and the remote server to send the read instrument configuration information to the remote server; Based on the instrument configuration information, the remote server returns all currently upgradeable version information of the automobile instrument to the client; The client selects the version to be upgraded based on the information of all currently upgradeable versions of the car instrument returned by the remote server, and downloads the upgrade package corresponding to the currently upgraded version to the USB flash drive; Generate an upgrade instruction for indicating the current version of the vehicle instrument that needs to be upgraded, write the generated upgrade instruction into a preset file, encrypt the preset file using the public key, and then write it into a USB flash drive; The upgrade package is encrypted using a public key on the remote server.

5. The method for implementing a USB flash drive upgrade for an automobile instrument system as claimed in claim 4, wherein: Decrypting the upgrade instruction based on the private key to obtain the current version of the automobile instrument to be upgraded and comparing it with the current automobile instrument information, and upgrading the automobile instrument based on the upgrade package according to the comparison result, specifically includes: Insert the USB flash drive with the upgrade package and preset file into the USB port of the car instrument, decrypt the preset file with the public key to obtain the upgrade instruction, and obtain the current version of the car instrument that needs to be upgraded; Compare the currently updated version of the vehicle instrument to be upgraded with the current vehicle instrument information; According to the comparison result and after the comparison is passed, the upgrade package is decrypted by the private key, and the upgrade of the automobile instrument is implemented based on the decrypted upgrade package.

6. The method for implementing a USB flash drive upgrade for an automobile instrument system according to claim 5, characterized in that: Based on the current car instrument information, determine whether the current version of the car instrument to be upgraded matches the car instrument: If yes, the comparison passes; If not, the comparison fails.

7. A method for implementing a USB flash drive upgrade for an automobile instrument system according to any one of claims 1 to 6, characterized in that: The instrument configuration information includes the instrument MCU version, instrument SoC version, instrument configuration parameter information, and vehicle VIN.

8. A device for upgrading a car instrument system using a USB flash drive, characterized in that: The vehicle instrument system USB flash drive upgrade implementation device includes: A creation module is used to create corresponding public and private keys, and encrypt the target file containing the instrument configuration information request instruction based on the public key and write it to the USB flash drive; an execution module, configured to decrypt a target file on a USB flash drive inserted into a vehicle instrument panel based on the private key, obtain the instrument configuration information request instruction, and execute the instruction to obtain the instrument configuration information; an acquisition module, configured to acquire an upgrade package for the current version of the automobile instrument to be upgraded based on the obtained instrument configuration information, generate an upgrade instruction for indicating the current version of the automobile instrument to be upgraded based on the public key, and write the upgrade package and the upgrade execution instruction into a USB flash drive; The upgrade module is used to decrypt the upgrade instruction based on the private key to obtain the current version of the automobile instrument that needs to be upgraded and compare it with the current automobile instrument information, and upgrade the automobile instrument based on the upgrade package according to the comparison result.

9. A device for upgrading a car instrument system using a USB flash drive, characterized in that: The automobile instrument system USB flash drive upgrade implementation device includes a processor, a memory, and an automobile instrument system USB flash drive upgrade implementation program stored in the memory and executable by the processor. When the automobile instrument system USB flash drive upgrade implementation program is executed by the processor, the steps of the automobile instrument system USB flash drive upgrade implementation method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a vehicle instrument system USB flash drive upgrade implementation program, wherein when the vehicle instrument system USB flash drive upgrade implementation program is executed by a processor, the steps of the vehicle instrument system USB flash drive upgrade implementation method according to any one of claims 1 to 7 are implemented.