CN115469899A - Firmware upgrading method, device, equipment, medium and vehicle-mounted system - Google Patents

Firmware upgrading method, device, equipment, medium and vehicle-mounted system Download PDF

Info

Publication number
CN115469899A
CN115469899A CN202210669773.3A CN202210669773A CN115469899A CN 115469899 A CN115469899 A CN 115469899A CN 202210669773 A CN202210669773 A CN 202210669773A CN 115469899 A CN115469899 A CN 115469899A
Authority
CN
China
Prior art keywords
upgrading
upgraded
unit
upgrade
vehicle
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
CN202210669773.3A
Other languages
Chinese (zh)
Inventor
罗亚斌
勾晓菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Rockwell Technology Co Ltd
Original Assignee
Beijing Rockwell Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Rockwell Technology Co Ltd filed Critical Beijing Rockwell Technology Co Ltd
Priority to CN202210669773.3A priority Critical patent/CN115469899A/en
Publication of CN115469899A publication Critical patent/CN115469899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The utility model provides a method, a device, equipment, a medium and a vehicle-mounted system for upgrading the firmware of a man-machine interaction system, which aims to solve the problems that the vehicle-mounted system without the upgrading condition of the remote upgrading technology in the related technology can not automatically upgrade the firmware, thereby consuming manpower, having low upgrading accuracy and influencing the production efficiency, and the method comprises the following steps: detecting a unit to be upgraded in a vehicle-mounted system; acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, wherein the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining the unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded; and sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system, wherein the upgrading instruction is used for instructing the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.

Description

Firmware upgrading method, device, equipment, medium and vehicle-mounted system
Technical Field
The disclosure relates to the field of intelligent automobiles, in particular to a firmware upgrading method, a firmware upgrading device, firmware upgrading equipment, firmware upgrading media and a vehicle-mounted system.
Background
In recent years, smart vehicles have become hot spots of research in the field of vehicle engineering in the world and new power for growth of the automobile industry, however, in a part research/test stage and a whole vehicle offline detection stage of a production process of a smart vehicle, some vehicle-mounted systems of the smart vehicles do not have On The Air (OTA) upgrading conditions, such as a Human Machine Interface (HMI), so that a plurality of Electronic Control Units (ECUs) and subsystems in the system cannot be uniformly brushed into an available version with a uniform relative version, and only one ECU and one ECU can be brushed, so that not only is the labor consumed, but also the upgrading accuracy is not high, and the final version is easily uneven, and the production efficiency is affected.
Disclosure of Invention
The invention provides a firmware upgrading method, a firmware upgrading device, equipment, a medium and a vehicle-mounted system, which are used for solving the problems that in the related art, the vehicle-mounted system without remote upgrading technology upgrading conditions cannot automatically upgrade firmware, so that labor is consumed, upgrading accuracy is low, and production efficiency is influenced.
In a first aspect, an embodiment of the present invention provides a firmware upgrading method, which is applied to a detection end, and the method includes:
detecting a unit to be upgraded in a vehicle-mounted system;
acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, wherein the first upgrading data comprise upgrading files and upgrading lists, the upgrading lists are used for determining the unit to be upgraded, and the upgrading files are used for upgrading the unit to be upgraded;
and sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system, wherein the upgrading instruction is used for instructing the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.
In a possible implementation manner, in the method provided in an embodiment of the present invention, the method further includes:
receiving upgrading result information sent by a vehicle-mounted system;
if the upgrading result information indicates that the upgrading fails, determining second upgrading data according to the upgrading result information and the first upgrading data, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded which fails in upgrading in the first upgrading data;
and sending the second upgrading data and the second upgrading instruction to the vehicle-mounted system so as to upgrade the unit to be upgraded which fails to be upgraded again.
In a second aspect, an embodiment of the present invention provides a firmware upgrading method applied to a vehicle-mounted system, including:
receiving first upgrading data and a first upgrading instruction sent by a detection end, wherein the first upgrading data comprise upgrading files and upgrading lists, the upgrading lists are used for determining units to be upgraded, and the upgrading files are used for upgrading the units to be upgraded;
and upgrading the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
In a possible implementation manner, in the method provided in an embodiment of the present invention, after the firmware upgrade is performed on each unit to be upgraded according to the upgrade instruction and the upgrade file, the method further includes:
generating upgrade result information, and if the firmware fails to be upgraded, adding an upgrade failure list in the upgrade result information, wherein the upgrade failure list comprises a unit to be upgraded, which fails to be upgraded;
and sending the upgrading result information to the detection end.
In a possible implementation manner, in the method provided in the embodiment of the present invention, the method further includes:
receiving second upgrading data and a second upgrading instruction sent by the detection end, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded which fails to be upgraded in the first upgrading data;
and upgrading the firmware of the unit to be upgraded in the upgrading failure list according to the second upgrading instruction and the second upgrading data.
In a third aspect, an embodiment of the present invention provides a firmware upgrading apparatus, including:
the detection unit is used for detecting a unit to be upgraded in the vehicle-mounted system;
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring first upgrading data corresponding to the vehicle-mounted system according to a unit to be upgraded, the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining the unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded;
and the sending unit is used for sending the first upgrading data and the first upgrading instruction to the vehicle-mounted system, and the upgrading instruction is used for indicating the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.
In a possible implementation manner, in an apparatus provided in an embodiment of the present invention, the apparatus further includes:
the receiving unit is used for receiving the upgrading result information sent by the vehicle-mounted system;
the determining unit is used for determining second upgrading data according to the upgrading result information and the first upgrading data if the upgrading result information indicates that the upgrading is failed, wherein the second upgrading data is upgrading data corresponding to the unit to be upgraded, which is failed to be upgraded, in the first upgrading data;
the sending unit is also used for sending the second upgrading data and the second upgrading instruction to the vehicle-mounted system so as to upgrade the unit to be upgraded which fails to be upgraded again.
In a fourth aspect, an embodiment of the present invention provides a firmware upgrading apparatus, including:
the device comprises a receiving unit, a detecting terminal and an upgrading unit, wherein the receiving unit is used for receiving first upgrading data and a first upgrading instruction sent by the detecting terminal, the first upgrading data comprise upgrading files and upgrading lists, the upgrading lists are used for determining units to be upgraded, and the upgrading files are used for upgrading the units to be upgraded;
and the upgrading unit is used for upgrading the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
In a possible implementation manner, in the apparatus provided in the embodiment of the present invention, the upgrade unit is further configured to:
generating upgrade result information, and if the firmware fails to be upgraded, adding an upgrade failure list in the upgrade result information, wherein the upgrade failure list comprises units to be upgraded, which fail to be upgraded;
and sending the upgrading result information to the detection end.
In a possible implementation manner, in the apparatus provided in the embodiment of the present invention, the receiving unit is further configured to:
receiving second upgrading data and a second upgrading instruction sent by the detection end, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded which fails to be upgraded in the first upgrading data;
the upgrading unit is also used for upgrading the firmware of the unit to be upgraded in the upgrading failure list according to the second upgrading instruction and the second upgrading data.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method provided by the first or second aspect of an embodiment of the invention.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the computer program instructions implement the method provided by the first aspect or the second aspect of the embodiment of the present invention.
In a seventh aspect, an embodiment of the present invention provides an on-board system, where the vehicle includes a firmware upgrading apparatus as in the fourth aspect.
In an eighth aspect, an embodiment of the present invention provides a detection apparatus, and the vehicle includes a firmware upgrading device as the third part.
The firmware upgrading method provided by the embodiment of the invention comprises the steps of firstly detecting a unit to be upgraded in a vehicle-mounted system, acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, and then sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system so as to enable the vehicle-mounted system to carry out firmware upgrading based on the first upgrading data. Compared with the prior art, the firmware upgrading method is provided, the problems that a vehicle-mounted system cannot automatically upgrade the firmware, so that manpower is consumed, upgrading accuracy is low, and production efficiency is affected are solved, upgrading accuracy is improved, production cost is reduced, and production efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments will be briefly introduced below, and it is apparent that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings may be obtained according to the drawings without inventive labor.
Fig. 1 is a schematic flowchart of a method for upgrading firmware of a human-computer interaction system according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a firmware upgrading method for a human-computer interaction system according to an embodiment of the present invention;
fig. 3 is a schematic specific flowchart of a method for upgrading firmware of a human-computer interaction system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a firmware upgrading apparatus for a human-computer interaction system according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another firmware upgrading apparatus for a human-computer interaction system according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a firmware upgrading device of a human-computer interaction system according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
Some of the words that appear in the text are explained below:
1. the term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems. In the description of the present invention, the term "plurality" means two or more unless otherwise specified.
2. In the embodiment of the present invention, the term "ECU" refers to an Electronic Control Unit (ECU), which is also called "driving computer", "vehicle-mounted computer", or the like. It is similar to common computer and consists of Microcontroller (MCU), memory (ROM, RAM), input/output interface (I/O), A/D converter and large scale integrated circuit for shaping and driving.
3. The term "IPC" in the embodiments of the present invention refers to Instrument Panel (IPC).
4. The term "SOC" in the embodiments of the present invention refers to a System On Chip (SOC), and in general, the SOC is called a System On Chip (SOC), and also called a System On Chip (SOC), meaning that it is a product, an integrated circuit with a dedicated target, which contains the complete System and has the entire contents of embedded software.
5. In the embodiment of the present invention, the term "MCU" refers to a Micro Controller Unit (MCU), also called a Single Chip Microcomputer (Single Chip Microcomputer), or a Single Chip Microcomputer (MCU), which appropriately reduces the frequency and specification of a Central Processing Unit (CPU), and integrates peripheral interfaces such as a memory (memory), a counter (Timer), a USB, an a/D conversion, a UART, a PLC, a DMA, and even an LCD driving circuit on a Single Chip to form a Chip-level computer, which performs different combination control for different applications.
6. In the embodiment of the present invention, the term "HMI" refers to a Human Machine Interface (HMI) including IPC, SOC, MCU, and the like.
7. The term "OTA" in the embodiments of the present invention refers to a remote upgrade technology (On the Air, OTA), which is a technology for implementing remote management On mobile terminal equipment and SIM card data through an Air interface of mobile communication.
8. The term "VIN" in the embodiment of the present invention refers to a Vehicle unique Identification Number (VIN). Because the SAE standard specifies: the VIN code consists of 17-bit characters, so it is commonly called a seventeen-bit code. It includes information of vehicle manufacturer, year, model, body type and code, engine code and assembling place, etc. Correct interpretation of VIN codes is important for us to correctly identify vehicle models so that correct diagnosis and repair can be performed.
9. The term "DRE" in the embodiments of the present invention refers to a harness engineer (DRE).
10. The term "EOL" in the embodiment of the present invention refers to an End On Line (EOL) detection system for a finished vehicle, and is mainly used for function detection and version upgrade during production of the finished vehicle.
In recent years, smart vehicles have become hot spots of research in the field of vehicle engineering in the world and new power for growth of the automobile industry, however, in the parts research and development/test stage and the whole vehicle offline detection stage of the production process of smart vehicles, some vehicle-mounted systems of smart vehicles, such as Human Machine Interface (HMI), do not have the upgrade condition of the remote upgrade technology (OTA), so that a plurality of Electronic Control Units (ECUs) and subsystems in the system cannot be uniformly written into an available version with a uniform relative version, and only one ECU and one ECU can be removed, so that not only is the labor consumed, but also the upgrade accuracy is not high, and the final version is easily uneven, thereby affecting the production efficiency.
Therefore, a firmware upgrading method is needed to solve the problems that the vehicle-mounted system cannot automatically upgrade the firmware, so that labor is consumed, upgrading accuracy is low, and production efficiency is affected.
As shown in fig. 1, the firmware upgrading method according to the embodiment of the present disclosure includes the following steps:
and step S101, detecting a unit to be upgraded in the vehicle-mounted system.
During specific implementation, the detection end is connected with the vehicle-mounted system, the unit model in the vehicle-mounted system is obtained through detection, and the unit to be upgraded is determined.
And S102, acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded.
In specific implementation, first upgrading data for upgrading the vehicle-mounted system is obtained through a server or other ways, the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining a unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded.
And step S103, sending the first upgrading data and the first upgrading instruction to the vehicle-mounted system.
In specific implementation, the acquired first upgrading data is sent to a designated position of the vehicle-mounted system, usually to a position for storing an upgrading file in an OTA upgrading process of the vehicle-mounted system, and an upgrading instruction is sent to the vehicle-mounted system at the same time, wherein the upgrading instruction is used for instructing the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data. The vehicle-mounted system can skip the upgrade judgment condition and directly upgrade the firmware. After the upgrade result information is sent, the upgrade result information can inform whether the firmware upgrade succeeds or not, if the upgrade fails, second upgrade data is determined according to the upgrade result information and the first upgrade data, and the second upgrade data is sent to the vehicle-mounted system so that the vehicle-mounted system can be upgraded again.
As shown in fig. 2, the automatic firmware upgrade method according to the embodiment of the present disclosure includes the following steps:
step S201, receiving first upgrade data and a first upgrade instruction sent by the detection end.
In specific implementation, the first upgrade data includes an upgrade file and an upgrade list, the upgrade list is used for determining a unit to be upgraded, and the upgrade file is used for upgrading the unit to be upgraded. Of course, second upgrade data and a second upgrade instruction sent by the detection end may also be detected, where the second upgrade data is upgrade data corresponding to a unit to be upgraded that fails to be upgraded in the first upgrade data.
Step S202, firmware upgrading is carried out on each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
In specific implementation, after a first upgrade instruction is received, an upgrade file corresponding to an element to be upgraded and an original element to be upgraded is determined through an upgrade list in first upgrade data, and firmware upgrade is performed on the element to be upgraded through the determined upgrade file. After upgrading, upgrading result information can be generated according to the upgrading result, and the upgrading result information is sent to the detection end.
Specifically, when updating result information is generated, if firmware updating fails, an updating failure list is added into the updating result information, and the updating failure list is used for enabling the detection end to determine a unit with updating failure; and if the firmware is successfully upgraded, informing the detection end of successful upgrade through the upgrade result information.
If the second upgrade instruction and the second upgrade data are received in step S201, firmware upgrade is performed on the unit to be upgraded in the upgrade failure list according to the second upgrade instruction and the second upgrade data, so that the unit to be upgraded that fails to be upgraded is upgraded.
As shown in fig. 3, the firmware upgrading method in the embodiment of the present invention is described in detail with reference to a detection end and a vehicle-mounted system, where the detection end is EOL detection equipment, and the vehicle-mounted system is an HMI. When the HMI is in a production line (namely the HMI is a part) or other scenes which cannot use the OTA, the HMI can be triggered and upgraded through EOL diagnosis, and under the upgrading mode, the upgrading condition does not need to be judged by judging a vehicle speed signal, a gear signal, the electric quantity of the whole vehicle and the like, and the specific steps are as follows.
Step S301, detecting a unit to be upgraded in the vehicle-mounted system.
During specific implementation, the detection end is connected with the vehicle-mounted system, the unit model in the vehicle-mounted system is obtained through detection, and the unit to be upgraded is determined.
Step S302, first upgrading data corresponding to the vehicle-mounted system is obtained according to the unit to be upgraded.
In specific implementation, the first upgrade data for upgrading the vehicle-mounted system is obtained through a server or other ways, the upgrade package of the EOL upgrade cannot be obtained from the OTA background, and because the whole vehicle vin code and the current whole vehicle firmware version number are not available, the upgrade files can only be obtained through the server of the EOL, and the input of the upgrade files comes from the upstream of a supplier DRE and the like. The first upgrading data comprises an upgrading file package and an upgrading list, wherein the upgrading file package is usually in a zip compressed file package format and comprises a plurality of upgrading files, and the upgrading list can be a manifest json file and is used for determining a unit to be upgraded in the vehicle-mounted system and upgrading files corresponding to the unit to be upgraded.
Step S303, the first upgrading data and the first upgrading instruction are sent to the vehicle-mounted system.
In specific implementation, the acquired first upgrading data and the first upgrading instruction are sent to a specified position of the vehicle-mounted system, and are usually sent to a position used for storing an upgrading file in the OTA upgrading process of the vehicle-mounted system, and the first upgrading instruction is used for indicating the vehicle-mounted system to upgrade the firmware based on the first upgrading data. Therefore, the vehicle-mounted system can skip the upgrading judgment condition and directly upgrade the firmware.
Step S304, receiving the first upgrade data and the first upgrade instruction sent by the detection terminal.
In specific implementation, after a first upgrade instruction is received, the element to be upgraded (namely the ECU to be upgraded in the HMI) and the upgrade file corresponding to the original element to be upgraded are determined through the upgrade list in the first upgrade data, and specific operation is to analyze the manifest.
Step S305, upgrading the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
In specific implementation, the firmware upgrading is performed on the element to be upgraded determined in the step by using the upgrading file determined in the step, namely, the ECU is sequentially upgraded according to the upgrading sequence configured in manifest.
And S306, generating upgrading result information according to the upgrading result, and sending the upgrading result information to the detection end.
Specifically, when updating result information is generated, if firmware updating fails, an updating failure list is added into the updating result information, and the updating failure list is used for enabling the detection end to determine a unit with updating failure; and if the firmware is successfully upgraded, informing the detection end of successful upgrade through the upgrade result information.
Step S307, the detection end receives the upgrading result information and determines the upgrading result, if the upgrading is successful, the firmware upgrading process is ended, and if the upgrading is failed, the step S308 is carried out.
And step S308, determining second upgrading data according to the upgrading result information and the first upgrading data, and sending the second upgrading data and a second upgrading instruction to the vehicle-mounted system so as to upgrade the vehicle-mounted system again.
As shown in fig. 4, an embodiment of the present invention provides a firmware upgrading apparatus for a human-computer interaction system, including:
the detection unit 401 is used for detecting a unit to be upgraded in the vehicle-mounted system;
an obtaining unit 402, configured to obtain first upgrade data corresponding to the vehicle-mounted system according to the unit to be upgraded, where the first upgrade data includes an upgrade file and an upgrade list, the upgrade list is used to determine the unit to be upgraded, and the upgrade file is used to upgrade the unit to be upgraded;
and a sending unit 403, configured to send the first upgrade data and the first upgrade instruction to the vehicle-mounted system, where the upgrade instruction is used to instruct the vehicle-mounted system to perform firmware upgrade on each unit to be upgraded based on the first upgrade data.
In a possible implementation manner, in an apparatus provided in an embodiment of the present invention, the apparatus further includes:
the receiving unit is used for receiving the upgrading result information sent by the vehicle-mounted system;
the determining unit is used for determining second upgrading data according to the upgrading result information and the first upgrading data if the upgrading result information indicates that the upgrading is failed, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded, which is failed in upgrading, in the first upgrading data;
the sending unit is also used for sending the second upgrading data and the second upgrading instruction to the vehicle-mounted system so as to upgrade the unit to be upgraded which fails to be upgraded again.
As shown in fig. 5, an embodiment of the present invention provides a device for upgrading firmware of a human-computer interaction system, including:
the receiving unit 501 is configured to receive first upgrade data and a first upgrade instruction sent by the detection end, where the first upgrade data includes an upgrade file and an upgrade list, the upgrade list is used to determine a unit to be upgraded, and the upgrade file is used to upgrade the unit to be upgraded;
and the upgrading unit 502 is configured to upgrade the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
In a possible implementation manner, in the apparatus provided in the embodiment of the present invention, the upgrading unit 502 is further configured to:
generating upgrade result information, and if the firmware fails to be upgraded, adding an upgrade failure list in the upgrade result information, wherein the upgrade failure list comprises a unit to be upgraded, which fails to be upgraded;
and sending the upgrading result information to the detection end.
In a possible implementation manner, in the apparatus provided in the embodiment of the present invention, the receiving unit 501 is further configured to:
receiving second upgrading data and a second upgrading instruction sent by the detection end, wherein the second upgrading data are upgrading data corresponding to a unit to be upgraded which fails in upgrading in the first upgrading data;
the upgrade unit 502 is further configured to perform firmware upgrade on the unit to be upgraded in the upgrade failure list according to the second upgrade instruction and the second upgrade data.
In addition, the method and the apparatus for upgrading firmware of a human-computer interaction system according to the embodiment of the present application described in conjunction with fig. 1 to 5 may be implemented by a human-computer interaction system firmware upgrading device. Fig. 6 shows a hardware structure schematic diagram of an electronic device for upgrading firmware of a human-computer interaction system according to an embodiment of the present application.
Referring now specifically to fig. 6, a schematic structural diagram is shown that is suitable for use to implement an electronic device 600 in embodiments of the present disclosure. The electronic device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 6, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphic processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603 to implement the voice control method of the embodiments as described in the present disclosure. In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 6 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided.
In particular, the processes described above with reference to the flow diagrams may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart, thereby implementing the voice control method as described above. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or installed from the storage means 608, or installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
detecting a unit to be upgraded in a vehicle-mounted system;
acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, wherein the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining the unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded;
and sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system, wherein the upgrading instruction is used for instructing the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.
Optionally, when the one or more programs are executed by the electronic device, the electronic device may also perform other steps described in the above embodiments.
An embodiment of the present invention provides an in-vehicle system, and the vehicle includes a firmware upgrading apparatus as shown in fig. 5.
An embodiment of the present invention provides a detection apparatus, and the vehicle includes a firmware upgrading device as shown in fig. 4.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including but not limited to an object oriented programming language such as Java, smalltalk, C + +, including conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), system on a chip (SOCs), complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The man-machine interaction system firmware upgrading method provided by the embodiment of the invention comprises the steps of firstly obtaining first upgrading data corresponding to a vehicle-mounted system, then sending the first upgrading data to the vehicle-mounted system, and sending an upgrading instruction to the vehicle-mounted system, so that the vehicle-mounted system carries out firmware upgrading based on the first upgrading data. Compared with the prior art, the firmware upgrading method is provided, the problems that some vehicle-mounted systems cannot automatically upgrade the firmware, so that manpower is consumed, upgrading accuracy is low, and production efficiency is affected are solved, upgrading accuracy is improved, production cost is reduced, and production efficiency is improved.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (11)

1. A firmware upgrading method is applied to a detection end and is characterized by comprising the following steps:
detecting a unit to be upgraded in a vehicle-mounted system;
acquiring first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, wherein the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for indicating the unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded;
and sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system, wherein the upgrading instruction is used for instructing the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.
2. The method of claim 1, wherein after sending the first upgrade data and the first upgrade instructions to the in-vehicle system, comprising:
receiving upgrading result information sent by the vehicle-mounted system;
if the upgrading result information indicates that upgrading fails, determining second upgrading data according to the upgrading result information and the first upgrading data, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded which fails to be upgraded in the first upgrading data;
and sending the second upgrading data and the second upgrading instruction to the vehicle-mounted system so as to upgrade the unit to be upgraded which fails to be upgraded again.
3. A firmware upgrading method is applied to a vehicle-mounted system and is characterized by comprising the following steps:
receiving first upgrading data and a first upgrading instruction sent by a detection end, wherein the first upgrading data comprise upgrading files and upgrading lists, the upgrading lists are used for indicating units to be upgraded, and the upgrading files are used for upgrading the units to be upgraded;
and upgrading the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
4. The method of claim 3, wherein after the firmware upgrade is performed on each of the units to be upgraded according to the upgrade instructions and the upgrade file, the method further comprises:
generating upgrade result information, and if the firmware fails to be upgraded, adding an upgrade failure list in the upgrade result information, wherein the upgrade failure list comprises the unit to be upgraded which fails to be upgraded;
and sending the upgrading result information to the detection end.
5. The method of claim 4, wherein the method further comprises:
receiving second upgrading data and a second upgrading instruction sent by a detection end, wherein the second upgrading data are upgrading data corresponding to the unit to be upgraded, which fails to be upgraded, in the first upgrading data;
and upgrading the firmware of the unit to be upgraded in the upgrading failure list according to the second upgrading instruction and the second upgrading data.
6. A firmware upgrade apparatus, comprising:
the detection unit is used for detecting a unit to be upgraded in the vehicle-mounted system;
the obtaining unit is used for obtaining first upgrading data corresponding to the vehicle-mounted system according to the unit to be upgraded, the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining the unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded;
and the sending unit is used for sending the first upgrading data and a first upgrading instruction to the vehicle-mounted system, and the upgrading instruction is used for indicating the vehicle-mounted system to upgrade the firmware of each unit to be upgraded based on the first upgrading data.
7. A firmware upgrade apparatus, comprising:
the device comprises a receiving unit, a detecting end and a processing unit, wherein the receiving unit is used for receiving first upgrading data and a first upgrading instruction sent by the detecting end, the first upgrading data comprises an upgrading file and an upgrading list, the upgrading list is used for determining a unit to be upgraded, and the upgrading file is used for upgrading the unit to be upgraded;
and the upgrading unit is used for upgrading the firmware of each unit to be upgraded according to the first upgrading instruction and the first upgrading data.
8. An electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory that, when executed by the processor, implement the method of any of claims 1-2 or 3-5.
9. A computer-readable storage medium having computer program instructions stored thereon which, when executed by a processor, implement the method of any one of claims 1-2 or 3-5.
10. An in-vehicle system characterized by comprising the firmware upgrading apparatus according to claim 7.
11. A detection apparatus comprising the firmware upgrade device according to claim 6.
CN202210669773.3A 2022-06-14 2022-06-14 Firmware upgrading method, device, equipment, medium and vehicle-mounted system Pending CN115469899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210669773.3A CN115469899A (en) 2022-06-14 2022-06-14 Firmware upgrading method, device, equipment, medium and vehicle-mounted system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210669773.3A CN115469899A (en) 2022-06-14 2022-06-14 Firmware upgrading method, device, equipment, medium and vehicle-mounted system

Publications (1)

Publication Number Publication Date
CN115469899A true CN115469899A (en) 2022-12-13

Family

ID=84363801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210669773.3A Pending CN115469899A (en) 2022-06-14 2022-06-14 Firmware upgrading method, device, equipment, medium and vehicle-mounted system

Country Status (1)

Country Link
CN (1) CN115469899A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116466973A (en) * 2023-04-24 2023-07-21 合芯科技有限公司 Multi-concurrency firmware upgrading method, system, computer equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116466973A (en) * 2023-04-24 2023-07-21 合芯科技有限公司 Multi-concurrency firmware upgrading method, system, computer equipment and storage medium
CN116466973B (en) * 2023-04-24 2024-04-05 合芯科技有限公司 Multi-concurrency firmware upgrading method, system, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2021203604A1 (en) Update test method and apparatus for vehicle component, and computer device and storage medium
CN111610993A (en) Firmware upgrading method, server and system
CN111090445B (en) Vehicle service upgrading method, device and system
CN111813095A (en) Vehicle diagnosis method, device and medium
CN111707477A (en) Vehicle detection method, device and system
CN115469899A (en) Firmware upgrading method, device, equipment, medium and vehicle-mounted system
CN113608518A (en) Data generation method, device, terminal equipment and medium
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
CN112328282A (en) Remote upgrading method, equipment, device and medium for vehicle-mounted central control system
CN115022223A (en) Method and system for carrying out automatic test on TBOX through UDS
CN111708555A (en) Data processing device, method and system
CN111693294A (en) Vehicle detection method and device, terminal equipment and storage medium
CN111190621A (en) Firmware burning method, device, system, terminal equipment and storage medium
CN116225501A (en) ECU upgrading method and device and readable storage medium
CN116737270A (en) Equipment, system and method for rapid adaptation of instrument function
CN116009922A (en) Vehicle, software flashing method and device for vehicle and storage medium
CN116048587A (en) Remote automatic upgrading method, device, server, equipment and medium for vehicle
CN115934130A (en) ECU (electronic control Unit) upgrading method, device, equipment and medium
CN112767565B (en) Method and device for OBU issuing and activating based on vehicle machine and electronic equipment
CN111625326B (en) Task pipeline execution method and device and electronic equipment
CN113625690A (en) Intelligent diagnosis method and system for automobile and mobile terminal
CN114356769A (en) Software learning method, device, equipment and storage medium
CN110618826A (en) Method and device for updating application program and terminal equipment
CN113096269B (en) Information acquisition method and device, electronic equipment and storage medium
CN115962954A (en) Vehicle-mounted drive test automatic testing method and system and vehicle

Legal Events

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