CN115827030A - Method and device for upgrading USB firmware of vehicle and vehicle - Google Patents

Method and device for upgrading USB firmware of vehicle and vehicle Download PDF

Info

Publication number
CN115827030A
CN115827030A CN202211538557.1A CN202211538557A CN115827030A CN 115827030 A CN115827030 A CN 115827030A CN 202211538557 A CN202211538557 A CN 202211538557A CN 115827030 A CN115827030 A CN 115827030A
Authority
CN
China
Prior art keywords
usb
firmware
upgrading
usb firmware
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211538557.1A
Other languages
Chinese (zh)
Inventor
于天福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202211538557.1A priority Critical patent/CN115827030A/en
Publication of CN115827030A publication Critical patent/CN115827030A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application provides a method and a device for upgrading USB firmware of a vehicle and the vehicle, which are applied to a firmware upgrading system of a vehicle end, wherein the method comprises the steps of responding to a request for upgrading the USB firmware received from a remote server and forwarding the request to a human-computer interaction interface; in response to receiving a confirmation upgrade feedback instruction associated with the request, sending a download request for USB firmware upgrade data to the remote server; receiving the USB firmware upgrade data corresponding to the download request from the remote server; and in response to the fact that the USB firmware upgrading data is received, sending the USB firmware upgrading data to the USB firmware to upgrade the USB firmware, so that the technical problems of low efficiency and poor real-time performance of upgrading the USB firmware of the vehicle in the prior art are solved, and the experience of a user in using the vehicle is improved.

Description

Method and device for upgrading USB firmware of vehicle and vehicle
Technical Field
The application relates to the technical field of vehicles, in particular to a method and a device for upgrading USB firmware of a vehicle and the vehicle.
Background
With the rapid development of the big data era and the intelligent development of vehicles, more and more new technologies and new product forms are applied to the field of vehicles. Taking a virtualized vehicle-mounted cabin system of a vehicle as an example, the virtualized vehicle-mounted cabin system integrates basic functions of a center console display screen and an instrument panel in the vehicle, cancels the actual operation of a traditional function key, and adopts a video voice and touch method to complete information interaction. The virtualized vehicle cabin system is continuously upgraded with market demands to support the latest data display and transmission. The virtualized in-vehicle cabin system contains USB firmware, and therefore, the USB firmware also needs to be upgraded.
In the prior art, the upgrading of the USB firmware in the vehicle can be realized by downloading a corresponding installation package at a website by a user or seeking the assistance of professional technical personnel for upgrading, but the upgrading modes of the two USB firmware cannot upgrade the USB firmware in time, so that inconvenience is brought to the user for using the vehicle.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for upgrading a USB firmware of a vehicle, and a vehicle, so as to overcome technical problems of low efficiency and poor real-time performance of upgrading the USB firmware of the vehicle in the prior art, and improve a user experience of using the vehicle.
Based on the above purpose, the present application provides a method for upgrading USB firmware of a vehicle, which is applied to a firmware upgrading system of a vehicle, and includes: in response to receiving a request for USB firmware upgrade from a remote server, forwarding the request to a human-computer interaction interface; in response to receiving a confirmation upgrade feedback instruction associated with the request, sending a download request for USB firmware upgrade data to the remote server; receiving the USB firmware upgrade data corresponding to the download request from the remote server; and in response to determining that the USB firmware upgrade data is received, sending the USB firmware upgrade data to the USB firmware to upgrade the USB firmware.
Optionally, before sending the USB firmware upgrade data, the method comprises: calling a USB communication protocol; establishing a communication connection with the USB firmware based on the USB communication protocol.
Optionally, before sending the USB firmware upgrade data to the USB firmware, the method further comprises: and carrying out first preprocessing operation on the USB firmware upgrading data.
Optionally, the first preprocessing operation is to perform a decompression operation and/or a decryption operation on the USB firmware upgrade data.
Optionally, in response to receiving the upgrade progress sent by the USB firmware, sending the upgrade progress to the human-computer interaction interface.
The application also provides a method for upgrading the USB firmware of the vehicle, which is applied to a remote server and comprises the following steps: performing second preprocessing operation on the initial USB firmware upgrading data in response to the received initial USB firmware upgrading data of the vehicle to obtain USB firmware upgrading data; sending a USB firmware upgrading request to a firmware upgrading system of the vehicle end based on the USB firmware upgrading data; and responding to a received USB firmware upgrading data downloading request corresponding to the USB firmware upgrading request, and sending the USB firmware upgrading data to the firmware upgrading system.
Optionally, the second preprocessing operation is a compression operation and/or an encryption operation on the USB firmware upgrade data.
Based on the same inventive concept, the application also provides a device for upgrading the USB firmware of the vehicle, which is applied to a firmware upgrading system at the vehicle end and comprises a forwarding module, a processing module and a control module, wherein the forwarding module is configured to respond to a request for upgrading the USB firmware received from a remote server and forward the request to a human-computer interaction interface; a first sending module configured to send a request for downloading USB firmware upgrade data to the remote server in response to receiving a confirmation upgrade feedback instruction associated with the request; a receiving module configured to receive the USB firmware upgrade data corresponding to the download request from the remote server; a second sending module configured to send the USB firmware upgrade data to a USB firmware to perform an upgrade operation on the USB firmware in response to determining that the USB firmware upgrade data reception is complete.
Based on the same inventive concept, the application also provides a device for upgrading the USB firmware of the vehicle, which is applied to a remote server and comprises a second preprocessing module, a first preprocessing module and a second preprocessing module, wherein the second preprocessing module is configured to respond to the received initial USB firmware upgrading data of the vehicle and carry out second preprocessing operation on the initial USB firmware upgrading data so as to obtain USB firmware upgrading data; the third sending module is configured to send a USB firmware upgrading request to a firmware upgrading system of a vehicle end based on the USB firmware upgrading data; a fourth transmitting module configured to transmit the USB firmware upgrade data to the firmware upgrade system in response to receiving a download request of the USB firmware upgrade data corresponding to the request of the USB firmware upgrade.
Based on the same inventive concept, the application also provides a vehicle comprising the device.
From the above, according to the method and the device for upgrading the USB firmware of the vehicle and the vehicle, the request is forwarded to the man-machine interaction interface by responding to the request for upgrading the USB firmware received from the remote server, so that a user can know the upgrading requirement of the USB firmware in real time, and the user can conveniently determine whether to upgrade the USB firmware according to actual conditions. And sending a downloading request of the USB firmware upgrading data to the remote server in response to receiving a confirmation upgrading feedback instruction associated with the request, so that the real-time performance of the USB firmware upgrading is realized. And receiving the USB firmware upgrading data corresponding to the downloading request from the remote server, so that the instant acquisition of the USB firmware upgrading data by the firmware upgrading system is realized, and the time cost of a user is saved. And in response to the fact that the USB firmware upgrading data is received, sending the USB firmware upgrading data to the USB firmware to upgrade the USB firmware, so that remote upgrading of the USB firmware is achieved, and upgrading efficiency of the USB firmware is improved.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the related art, the drawings needed to be used in the description of the embodiments or the related art will be briefly introduced below, and it is obvious that the drawings in the following description are only embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a method for upgrading USB firmware of a vehicle according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating a method for upgrading USB firmware of a vehicle according to another embodiment of the present application;
FIG. 3 is a schematic structural diagram of a device for upgrading USB firmware of a vehicle according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of a USB firmware upgrading device for a vehicle according to another embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present application should have a general meaning as understood by those having ordinary skill in the art to which the present application belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the present application do not denote any order, quantity, or importance, but rather the terms are used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item listed before the word covers the element or item listed after the word and its equivalents, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background section, in the prior art, the upgrade of the USB firmware in the vehicle may be performed by downloading a corresponding installation package from a website by a user, or may be performed with the assistance of a professional technician. The user needs to download and install the installation package by himself in a mode of downloading the corresponding installation package at a website, time cost of the user is wasted, the possibility that the installation package is installed by mistake exists, the USB firmware is not upgraded successfully, time cost of the user is wasted, and inconvenience is brought to vehicle use of the user. The user needs to wait for the professional technical personnel to perform upgrading operation on the USB firmware by seeking the mode of upgrading the USB firmware by the professional technical personnel, so that the time cost of the user is wasted. And the two upgrading modes of the USB firmware can not upgrade the USB firmware in time, which causes inconvenience for a user to use the vehicle.
In view of this, an embodiment of the present application provides a method for upgrading a USB firmware of a vehicle, where the vehicle is equipped with a firmware upgrading system, a storage module of a USB communication protocol, the USB firmware, and a human-computer interaction interface. The firmware upgrading system is respectively connected with a storage module of a USB communication protocol and a human-computer interaction interface. The firmware upgrading system can upgrade the USB firmware through the USB firmware upgrading data. The storage module of the USB communication protocol is capable of storing the USB communication protocol. The USB firmware is a USB device connected with the firmware upgrading system through a USB bus. The man-machine interaction interface can realize the interaction between a user and a vehicle and display the upgrading progress of the USB firmware.
Referring to fig. 1, the present application provides a method for upgrading USB firmware of a vehicle, which is applied to a firmware upgrading system on a vehicle side, and the method includes the following steps:
step 101, in response to receiving a request for upgrading the USB firmware from a remote server, forwarding the request to a human-computer interaction interface.
In the step, the firmware upgrading system at the vehicle end establishes remote communication connection with the remote server through the Ethernet, and can receive the request of USB firmware upgrading in real time. And forwarding the request to a human-computer interaction interface, and displaying request information to a user through the human-computer interaction interface so that the user can conveniently acquire the USB firmware upgrading information in real time, and the user determines whether the USB firmware needs to be upgraded according to actual conditions.
The remote server of The vehicle can be a Firmware Over-The-Air (TSP-FOTA) server for providing remote communication Service, and The TSP-FOTA has The advantage of wide application range of providing upgrading Service, and when The upgrading Service is provided for The USB Firmware of The vehicle, the vehicle acquires upgrading data in an easily-expanded mode to complete upgrading optimization of The USB Firmware. The USB firmware can be a Bluetooth antenna, a Bluetooth box and other devices built in the vehicle.
Illustratively, a prompt box pops up from the human-computer interaction interface, the request information in the prompt box can be 'whether the Bluetooth box needs to be upgraded after receiving an upgrade request of the Bluetooth box', and a virtual upgrade confirmation button and a virtual upgrade suspension button are displayed below the prompt box. Under the condition that the user does not wish to upgrade the Bluetooth box at present, the user can click the virtual deferred upgrade button; under the condition that the user wishes to upgrade the Bluetooth box at present, the user can click the virtual upgrade confirmation button.
And 102, responding to the received update confirmation feedback instruction associated with the request, and sending a downloading request of the USB firmware update data to the remote server.
In the step, when the user wishes to upgrade the USB firmware at present, and thus clicks the virtual confirmation button, the firmware upgrading system receives a confirmation upgrading feedback instruction sent by the human-computer interaction interface, and sends a downloading request of USB firmware upgrading data to the remote server. The purpose of obtaining the USB firmware upgrading data can be achieved without the need of a user going to a website to download a corresponding installation package or seeking the assistance of professional technicians to upgrade, and the real-time property of USB firmware upgrading is achieved.
Step 103, receiving the USB firmware upgrade data corresponding to the download request from the remote server.
In the step, the firmware upgrading system directly receives the USB firmware upgrading data sent from the remote server, so that the instant acquisition of the USB firmware upgrading data by the firmware upgrading system is realized, and the time cost of a user is saved.
And 104, responding to the fact that the USB firmware upgrading data are received completely, and sending the USB firmware upgrading data to the USB firmware to upgrade the USB firmware.
In the step, the firmware upgrading system receives the USB firmware upgrading data sent by the remote server and carries out upgrading operation on the USB firmware, so that remote upgrading of the USB firmware is realized, the upgrading efficiency of the USB firmware is improved, and the time cost and the labor cost are saved.
By the scheme, the request for upgrading the USB firmware is forwarded to the human-computer interaction interface in response to the request for upgrading the USB firmware received from the remote server, so that a user can know the upgrading requirement of the USB firmware in real time, and the user can conveniently determine whether the USB firmware needs to be upgraded according to actual conditions. And sending a downloading request of the USB firmware upgrading data to the remote server in response to receiving a confirmation upgrading feedback instruction associated with the request, so that the real-time performance of the USB firmware upgrading is realized. And receiving the USB firmware upgrading data corresponding to the downloading request from the remote server, so that the instant acquisition of the USB firmware upgrading data by the firmware upgrading system is realized, and the time cost of a user is saved. And in response to the fact that the USB firmware upgrading data is received, sending the USB firmware upgrading data to the USB firmware to upgrade the USB firmware, so that remote upgrading of the USB firmware is achieved, and upgrading efficiency of the USB firmware is improved.
In some embodiments, prior to sending the USB firmware upgrade data, the method comprises: calling a USB communication protocol; establishing a communication connection with the USB firmware based on the USB communication protocol.
In this embodiment, the USB communication protocol implements communication connection between the firmware upgrade system and the USB firmware, and the USB communication protocol refers to the specification of the firmware upgrade system and the USB firmware for controlling transmission of the upgrade data of the USB firmware upgrade system, and the specification includes specifications of a data format, a synchronization method, a transmission speed, a transmission step, an error detection and correction method, a control character definition, and the like. The storage module of USB communication protocol is independent of the storage module of other communication protocols, so that the upgrading of the USB firmware and the upgrading of other firmware are not affected, and the expandability of the upgrading of the USB firmware is improved. The code channel for upgrading the USB firmware is isolated from the code channels for upgrading other firmware, so that the task isolation of upgrading the USB firmware is realized, and the safety and reliability of upgrading the USB firmware are improved.
In some embodiments, before sending the USB firmware upgrade data to the USB firmware, the method further comprises: and carrying out first preprocessing operation on the USB firmware upgrading data.
In this embodiment, the USB firmware upgrade data sent by the remote server to the firmware upgrade system may be subjected to a compression operation and/or an encryption operation, so that the firmware upgrade system needs to perform a first preprocessing operation on the USB firmware upgrade data before sending the USB firmware upgrade data to the USB firmware.
In some embodiments, the first preprocessing operation is a decompression operation and/or a decryption operation on the USB firmware upgrade data.
In this embodiment, the size of the USB firmware upgrade data varies from several KB to several hundred MB, and in the case of a large USB firmware upgrade data, the remote server needs to perform a compression operation on the USB firmware upgrade data so as not to affect the transmission speed of the USB firmware upgrade data, so the firmware upgrade system performs a decompression operation on the USB firmware upgrade data after the USB firmware upgrade data is received. Under the condition that the confidentiality requirement of the USB firmware upgrading data is high, the remote server needs to encrypt the USB firmware upgrading data so as to prevent the USB firmware upgrading data from being stolen, and the safety of the USB firmware upgrading data is ensured, so that the firmware upgrading system needs to decrypt the USB firmware upgrading data after receiving the USB firmware upgrading data.
It should be noted that, the remote server determines whether the USB firmware upgrade data needs to be subjected to the pressurization operation and/or the encryption operation according to the size and the confidentiality of the USB firmware upgrade data. The firmware upgrading system determines whether the USB firmware upgrading data needs to be subjected to decompression operation and/or decryption operation according to whether the received USB firmware upgrading data is subjected to compression operation and/or encryption operation.
In some embodiments, further comprising: and responding to the received upgrading progress sent by the USB firmware, and sending the upgrading progress to the human-computer interaction interface.
In the embodiment, the USB firmware sends the upgrading progress to the firmware upgrading system in real time, the firmware upgrading system sends the upgrading progress to the human-computer interaction interface, and the human-computer interaction interface displays the upgrading progress of the USB firmware to remind a user that the USB firmware is being upgraded at the moment, so that the user can conveniently carry out reasonable time arrangement according to the upgrading progress of the USB firmware, and the USB firmware upgrading failure caused by misoperation of the vehicle by the user is also prevented.
Illustratively, the firmware upgrading system sends the upgrading progress to the human-computer interaction interface, and the human-computer interaction interface displays a prompt box, wherein the information in the prompt box can be 'the current upgrading progress of the bluetooth box is 75%'.
The embodiment of the application provides a method for upgrading a USB firmware of a vehicle, which is applied to a remote server and refers to FIG. 2, and the method comprises the following steps:
step 201, in response to receiving the initial USB firmware upgrade data of the vehicle, performing a second preprocessing operation on the initial USB firmware upgrade data to obtain USB firmware upgrade data.
In this step, the developer is dedicated to improving the vehicle performance, and when the developer establishes a new USB firmware upgrade data at the remote server, the remote server receives a new USB firmware upgrade data, i.e., the initial USB firmware upgrade data. And performing second preprocessing operation on the USB firmware upgrading data according to the size and the confidentiality degree of the USB firmware upgrading data so as to accelerate the transmission speed of the USB firmware upgrading data to a firmware upgrading system and improve the transmission safety of the USB firmware upgrading data.
And step 202, sending a USB firmware upgrading request to a firmware upgrading system of the vehicle end based on the USB firmware upgrading data.
In this step, the remote server sends a request for the USB firmware upgrade data to the firmware upgrade system in real time, so that the user can obtain the request for the USB firmware upgrade data in real time, and the user can determine whether to upgrade the firmware according to the actual situation. The purpose of sending the USB firmware upgrading data to the firmware upgrading system can be achieved without the need of a user going to a website to download a corresponding installation package and seeking the assistance of professional technicians for upgrading, and the instantaneity of the USB firmware upgrading is improved.
Step 203, in response to receiving a download request of the USB firmware upgrade data corresponding to the request of the USB firmware upgrade, sending the USB firmware upgrade data to the firmware upgrade system.
In the step, the remote server receives the downloading request of the USB firmware upgrading data sent by the firmware upgrading system, so that the USB firmware upgrading data is remotely sent to the firmware upgrading system, and the upgrading efficiency of the USB firmware is improved. It should be noted that, in a case that the remote server does not receive a USB firmware upgrade data download request sent by the firmware upgrade system, it indicates that the user does not wish to upgrade the USB firmware at this time. The USB firmware is upgraded according to the will of the user, so that the user can reasonably arrange the upgrading time of the USB firmware.
By the scheme, the initial USB firmware upgrading data of the vehicle is responded to and is subjected to second preprocessing operation to obtain the USB firmware upgrading data, the speed of transmitting the USB firmware upgrading data to the firmware upgrading system is increased, and the safety of transmitting the USB firmware upgrading data is improved. Based on the USB firmware upgrading data, a USB firmware upgrading request is sent to a firmware upgrading system at the vehicle end, a user does not need to go to a website to download a corresponding installation package, and the purpose of sending the USB firmware upgrading data to the firmware upgrading system can be achieved without the need of seeking assistance of professional technicians for upgrading, so that the instantaneity of USB firmware upgrading is improved. And responding to a download request of the USB firmware upgrading data corresponding to the request of the USB firmware upgrading, and sending the USB firmware upgrading data to the firmware upgrading system, so that the USB firmware upgrading data is remotely sent to the firmware upgrading system, and the upgrading efficiency of the USB firmware is improved.
In some embodiments, the second pre-processing operation is a compression operation and/or an encryption operation on the USB firmware upgrade data.
In this embodiment, the remote server determines whether the USB firmware upgrade data needs to be pressurized and/or encrypted according to the size and the confidentiality of the USB firmware upgrade data, the transmission speed of the USB firmware upgrade data is increased by pressurizing the USB firmware upgrade data, and the security of the USB firmware upgrade data is ensured by encrypting the USB firmware upgrade data.
It should be noted that the method of the embodiment of the present application may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiment, and the multiple devices interact with each other to complete the method.
It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, corresponding to the method of any embodiment, the application also provides a device for upgrading the USB firmware of the vehicle.
Referring to fig. 3, the apparatus for upgrading USB firmware of a vehicle is applied to a firmware upgrading system on a vehicle side, and includes:
a forwarding module 10 configured to forward a request for a USB firmware upgrade to the human-machine interface in response to receiving the request from the remote server.
A first sending module 20 configured to send a download request of USB firmware upgrade data to the remote server in response to receiving a confirmation upgrade feedback instruction associated with the request.
A receiving module 30 configured to receive the USB firmware upgrade data corresponding to the download request from the remote server.
A second sending module 40 configured to send the USB firmware upgrade data to the USB firmware to perform an upgrade operation on the USB firmware in response to determining that the USB firmware upgrade data reception is complete.
By the device, the request for upgrading the USB firmware is forwarded to the man-machine interaction interface in response to the request for upgrading the USB firmware received from the remote server, so that a user can know the upgrading requirement of the USB firmware in real time, and the user can conveniently determine whether the USB firmware needs to be upgraded according to actual conditions. And responding to the received update confirmation feedback instruction associated with the request, and sending a downloading request of the USB firmware update data to the remote server, so that the real-time performance of the USB firmware update is realized. And receiving the USB firmware upgrading data corresponding to the downloading request from the remote server, so that the instant acquisition of the USB firmware upgrading data by the firmware upgrading system is realized, and the time cost of a user is saved. And in response to the fact that the USB firmware upgrading data are received completely, sending the USB firmware upgrading data to the USB firmware to upgrade the USB firmware, so that the remote upgrading of the USB firmware is realized, and the upgrading efficiency of the USB firmware is improved.
In some embodiments, further comprising a calling module 50, said calling module 50 configured to call a USB communication protocol; establishing a communication connection with the USB firmware based on the USB communication protocol.
In some embodiments, the method further comprises a first preprocessing module 60, and the first preprocessing module 60 is configured to perform a first preprocessing operation on the USB firmware upgrade data.
In some embodiments, the first pre-processing operation is a decompression operation and/or a decryption operation on the USB firmware upgrade data.
In some embodiments, the system further includes a fifth sending module 70, and the fifth sending module 70 is configured to send the upgrade progress to the human-computer interaction interface in response to receiving the upgrade progress sent by the USB firmware.
Based on the same inventive concept, corresponding to the method of any embodiment, the application also provides a device for upgrading the USB firmware of the vehicle.
Referring to fig. 4, the apparatus for upgrading USB firmware of a vehicle, applied to a remote server, includes:
a second preprocessing module 80 configured to perform a second preprocessing operation on the initial USB firmware upgrade data to obtain USB firmware upgrade data in response to receiving the initial USB firmware upgrade data of the vehicle;
a third sending module 90 configured to send a request for USB firmware upgrade to a firmware upgrade system of a vehicle end based on the USB firmware upgrade data;
a fourth transmitting module 100 configured to transmit the USB firmware upgrade data to the firmware upgrade system in response to receiving a download request of the USB firmware upgrade data corresponding to the request of the USB firmware upgrade.
By the device, the initial USB firmware upgrading data of the vehicle is responded to and received, the second preprocessing operation is carried out on the initial USB firmware upgrading data to obtain the USB firmware upgrading data, the speed of transmitting the USB firmware upgrading data to the firmware upgrading system is increased, and the safety of transmitting the USB firmware upgrading data is improved. Based on the USB firmware upgrading data, a USB firmware upgrading request is sent to a firmware upgrading system at the vehicle end, a user does not need to go to a website to download a corresponding installation package, and the purpose of sending the USB firmware upgrading data to the firmware upgrading system can be achieved without the need of seeking assistance of professional technicians for upgrading, so that the instantaneity of USB firmware upgrading is improved. And responding to a download request of the USB firmware upgrading data corresponding to the request of the USB firmware upgrading, and sending the USB firmware upgrading data to the firmware upgrading system, so that the USB firmware upgrading data is remotely sent to the firmware upgrading system, and the upgrading efficiency of the USB firmware is improved.
In some embodiments, the second pre-processing operation is a compression operation and/or an encryption operation on the USB firmware upgrade data.
For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, the functionality of the various modules may be implemented in the same one or more software and/or hardware implementations as the present application.
The device of the above embodiment is used for implementing the method for upgrading the USB firmware of the vehicle in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to the method of any embodiment described above, the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and running on the processor, and when the processor executes the program, the method for upgrading the USB firmware of the vehicle according to any embodiment described above is implemented.
Fig. 5 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via a bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or USB firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, bluetooth and the like).
Bus 1050 includes a path that transfers information between various components of the device, such as processor 1010, memory 1020, input/output interface 1030, and communication interface 1040.
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used to implement the method for upgrading the USB firmware of the vehicle in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above embodiments, the present application also provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method for upgrading the USB firmware of a vehicle according to any of the above embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the foregoing embodiment are used to enable the computer to execute the method for upgrading the USB firmware of the vehicle according to any one of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described herein again.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the context of the present application, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the application. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the application, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the application are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the application, it should be apparent to one skilled in the art that the embodiments of the application can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present application has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures, such as Dynamic RAM (DRAM), may use the discussed embodiments.
The present embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present application are intended to be included within the scope of the present application.

Claims (10)

1. A method for upgrading USB firmware of a vehicle is characterized in that a firmware upgrading system applied to a vehicle end comprises the following steps:
in response to receiving a request for USB firmware upgrade from a remote server, forwarding the request to a human-computer interaction interface;
in response to receiving a confirmation upgrade feedback instruction associated with the request, sending a download request for USB firmware upgrade data to the remote server;
receiving the USB firmware upgrade data corresponding to the download request from the remote server;
and in response to determining that the USB firmware upgrade data is received, sending the USB firmware upgrade data to the USB firmware to upgrade the USB firmware.
2. The method of claim 1, wherein prior to sending the USB firmware upgrade data, the method comprises:
calling a USB communication protocol;
establishing a communication connection with the USB firmware based on the USB communication protocol.
3. The method of claim 1, wherein prior to sending the USB firmware upgrade data to USB firmware, the method further comprises:
and carrying out first preprocessing operation on the USB firmware upgrading data.
4. The method according to claim 3, wherein the first preprocessing operation is a decompression operation and/or a decryption operation on the USB firmware upgrade data.
5. The method of claim 1, further comprising:
and responding to the received upgrading progress sent by the USB firmware, and sending the upgrading progress to the human-computer interaction interface.
6. A method for upgrading USB firmware of a vehicle is applied to a remote server and comprises the following steps:
performing second preprocessing operation on the initial USB firmware upgrading data in response to the received initial USB firmware upgrading data of the vehicle to obtain USB firmware upgrading data;
sending a USB firmware upgrading request to a firmware upgrading system of the vehicle end based on the USB firmware upgrading data;
and responding to a received downloading request of the USB firmware upgrading data corresponding to the request of the USB firmware upgrading, and sending the USB firmware upgrading data to the firmware upgrading system.
7. The method of claim 6, wherein the second preprocessing operation is a compression operation and/or an encryption operation on the USB firmware upgrade data.
8. The utility model provides a device of USB firmware upgrading of vehicle which characterized in that, is applied to the firmware upgrading system of car end, includes:
a forwarding module configured to forward a request for USB firmware upgrade to a human-computer interaction interface in response to receiving the request from a remote server;
a first sending module configured to send a request for downloading USB firmware upgrade data to the remote server in response to receiving a confirmation upgrade feedback instruction associated with the request;
a receiving module configured to receive the USB firmware upgrade data corresponding to the download request from the remote server;
a second sending module configured to send the USB firmware upgrade data to a USB firmware to perform an upgrade operation on the USB firmware in response to determining that the USB firmware upgrade data reception is complete.
9. An apparatus for upgrading USB firmware of a vehicle, applied to a remote server, comprising:
a second preprocessing module configured to perform a second preprocessing operation on initial USB firmware upgrade data of the vehicle in response to receiving the initial USB firmware upgrade data to obtain USB firmware upgrade data;
the third sending module is configured to send a USB firmware upgrading request to a firmware upgrading system of a vehicle end based on the USB firmware upgrading data;
a fourth transmitting module configured to transmit the USB firmware upgrade data to the firmware upgrade system in response to receiving a download request of the USB firmware upgrade data corresponding to the request of the USB firmware upgrade.
10. A vehicle comprising the apparatus of claim 8.
CN202211538557.1A 2022-12-01 2022-12-01 Method and device for upgrading USB firmware of vehicle and vehicle Pending CN115827030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211538557.1A CN115827030A (en) 2022-12-01 2022-12-01 Method and device for upgrading USB firmware of vehicle and vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211538557.1A CN115827030A (en) 2022-12-01 2022-12-01 Method and device for upgrading USB firmware of vehicle and vehicle

Publications (1)

Publication Number Publication Date
CN115827030A true CN115827030A (en) 2023-03-21

Family

ID=85544948

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211538557.1A Pending CN115827030A (en) 2022-12-01 2022-12-01 Method and device for upgrading USB firmware of vehicle and vehicle

Country Status (1)

Country Link
CN (1) CN115827030A (en)

Similar Documents

Publication Publication Date Title
CN103425494A (en) Information interaction system of vehicle-mounted terminal and smart mobile terminal
US10205770B2 (en) Mobile device application integration with infotainment head units
US20150242381A1 (en) Data transition processing method and electronic device supporting the same
CN110278543B (en) Method and device for updating control system of automobile and storage medium
US20140280439A1 (en) Method and Apparatus for Seamless Application Portability Over Multiple Environments
US20140130063A1 (en) Systems and methods for low overhead remote procedure calls
EP4350540A1 (en) Account login method and electronic device
US11656894B2 (en) Electronic device and method for providing in-vehicle infotainment service
KR20140142116A (en) Electronic device and method for providing text transformaation service
KR20210050403A (en) Method for transmitting data based on multiple communication and electronic device supporting the same
US9351095B2 (en) Terminal apparatus and method for connecting with a head unit of a vehicle
CN115827030A (en) Method and device for upgrading USB firmware of vehicle and vehicle
CN112767565B (en) Method and device for OBU issuing and activating based on vehicle machine and electronic equipment
US20150304472A1 (en) Method of matching operations between vehicular apparatus and portable terminal, vehicle system including vehicular apparatus and portable terminal, portable terminal, and information center
EP4020937A1 (en) Method and system for segmenting and transmitting data between computing devices and vehicle head units
WO2024114796A1 (en) Vehicle usb firmware upgrade method and device, and vehicle
CN113721961A (en) Equipment upgrading method and device, storage medium and electronic equipment
CN114422236A (en) Intelligent device access method and device and electronic device
KR102019130B1 (en) Mobile terminal and controlling method thereof
EP2785069A1 (en) Audio/video processing apparatus for a car
KR20200118980A (en) An electronic device for executing different operating system and method thereof
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN210804354U (en) Portable vehicle-mounted touch screen device for mapping functions of mobile phone
CN114793227B (en) Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium
CN115100842A (en) Infrared remote control method and device, electronic equipment and readable storage medium

Legal Events

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