WO2022165711A1 - Upgrading method and apparatus based on over-the-air (ota) technology - Google Patents

Upgrading method and apparatus based on over-the-air (ota) technology Download PDF

Info

Publication number
WO2022165711A1
WO2022165711A1 PCT/CN2021/075287 CN2021075287W WO2022165711A1 WO 2022165711 A1 WO2022165711 A1 WO 2022165711A1 CN 2021075287 W CN2021075287 W CN 2021075287W WO 2022165711 A1 WO2022165711 A1 WO 2022165711A1
Authority
WO
WIPO (PCT)
Prior art keywords
component
information
upgrade
ota
condition
Prior art date
Application number
PCT/CN2021/075287
Other languages
French (fr)
Chinese (zh)
Inventor
王勇
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2021/075287 priority Critical patent/WO2022165711A1/en
Priority to CN202180000380.7A priority patent/CN112913190A/en
Publication of WO2022165711A1 publication Critical patent/WO2022165711A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Definitions

  • the present application relates to the field of communication technologies, and in particular, to an upgrade method and device based on the over-the-air download technology OTA.
  • OTA Over the Air technology
  • OEM Original Equipment Manufacture
  • OTA can upgrade the relevant software and firmware of automobiles through OTA, which is conducive to OEM manufacturers to reduce recall costs and quickly Respond to needs and improve user experience.
  • the use of some software packages requires dependencies on related software or hardware to ensure proper installation and use of the software packages.
  • an upgrade method and device based on the over-the-air download technology OTA are proposed, which can solve the problem of upgrade failure caused by the mismatch of related software or hardware, thereby improving the reliability of OTA upgrade.
  • an embodiment of the present application provides an OTA-based upgrade method, the method includes: acquiring information of a second component associated with a first component; determining the second component according to the information of the second component Whether the component satisfies the first condition, the first condition is the condition that the second component needs to meet when the first component is upgraded; if the second component satisfies the first condition, the OTA upgrades the first component.
  • the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded
  • the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
  • the first condition is that when the first component is upgraded, the information of the second component satisfies the second requirement required when the first component is upgraded.
  • the matching range of the part's information In this way, the flexibility and accuracy of the first condition can be improved.
  • the information of the second component is hardware information, software information, and firmware information at least one of .
  • the method further includes: if the software information and/or firmware information in the information of the second component does not meet the first condition, then The second part is upgraded such that the second part satisfies the first condition.
  • the upgrade of the first part based on OTA can be completed without the user's perception, which is beneficial to improve the user experience.
  • the method further includes:
  • the vehicle end is notified that the upgrade fails. In this way, it is convenient for the user to know the reason for the failure of the upgrade, and it is convenient for the user to replace the hardware.
  • an OTA-based upgrade device comprising:
  • an acquisition module for acquiring the information of the second component associated with the first component
  • a determining module configured to determine whether the second part satisfies a first condition according to the information of the second part acquired by the acquiring module, and the first condition is that when the first part is upgraded, the second part needs to satisfy
  • the first upgrade module is configured to upgrade the first component through the OTA when the determining module determines that the second component satisfies the first condition.
  • the first condition is that when the first component is upgraded, the information of the second component satisfies the second requirement when the first component is upgraded.
  • the matching range of the part's information is that when the first component is upgraded, the information of the second component satisfies the second requirement when the first component is upgraded.
  • the information of the second component is hardware information, software information, and firmware information. at least one.
  • the apparatus further includes:
  • a second upgrade module configured to upgrade the second component so that the second component satisfies the first condition if the software information and/or firmware information in the information of the second component does not satisfy the first condition the first condition.
  • the apparatus further includes:
  • the notification module is configured to notify the vehicle-end upgrade failure when the hardware information in the information of the second component does not meet the first condition.
  • embodiments of the present application provide an electronic device, which can execute the first aspect or one or more of the OTA-based upgrade methods in multiple possible implementations of the first aspect.
  • embodiments of the present application provide a computer program product, comprising computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in an electronic
  • the processor in the electronic device executes the first aspect or one or more of the OTA-based upgrade methods in the multiple possible implementation manners of the first aspect.
  • the present application provides a software upgrade device, comprising a memory and a processor, the memory stores computer program instructions, and the processor executes the computer program instructions to execute the first aspect or any one of the above first aspects an implementation of the operation.
  • the apparatus further includes a transceiver, configured to receive a policy package, an upgrade package, an upgrade failure message or information of the second component, or use for sending at least one of upgrade instructions, upgrade failure notifications, etc.
  • the software upgrade device may be the ICV itself, or a component of the ICV, such as a central gateway, a telematics BOX, T-box. , Human-Machine Interaction (HMI), Mobile Data Controller (MDC), Advanced Driving Assistant System (ADAS) or Electronic Control Unit (ECU), Or it is a sub-device in the above-mentioned components, or it can be an independent device in the intelligent networked vehicle in addition to the above-mentioned components.
  • HMI Human-Machine Interaction
  • MDC Mobile Data Controller
  • ADAS Advanced Driving Assistant System
  • ECU Electronic Control Unit
  • the present application provides a software upgrade device, comprising a memory and a processor, the memory stores computer program instructions, and the processor executes the computer program instructions to execute the first aspect or any one of the first aspects Implementation of the operation.
  • the apparatus further includes a transceiver for receiving information of the second component, or for sending an upgrade package, a policy package, an upgrade failure at least one of messages, etc.
  • the above sixth aspect, or the software upgrade apparatus described in any implementation manner of the sixth aspect can be applied to the network side, for example, exists in the form of a server on the network side.
  • the present application provides a terminal software upgrade system, including a software upgrade device of the fifth aspect or any implementation manner of the above fifth aspect and software of the sixth aspect or any implementation manner of the above sixth aspect Upgrade the device.
  • the present application provides a computer-readable storage medium, comprising computer instructions, which, when the computer instructions are executed by a processor, cause the software upgrade apparatus to execute the first aspect or any one of the above first aspects method of implementation.
  • the present application provides an electronic device, the electronic device includes a processor, and the processor is configured to support the electronic device to perform corresponding functions in the method provided in the first aspect.
  • the electronic device may also include a memory for coupling with the processor that holds program instructions and data necessary for the electronic device.
  • the electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
  • the present application provides a chip system
  • the chip system includes a processor for an electronic device or server to implement the functions involved in the first aspect above, for example, for example, receiving or processing data involved in the above method and/or information.
  • the chip system further includes a memory for storing necessary program instructions and data of the electronic device or server.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • FIG. 1 shows a schematic diagram of a network architecture provided by an embodiment of the present application
  • FIG. 2 shows a schematic diagram of a network architecture provided by an embodiment of the present application
  • FIG. 3 shows a schematic structural diagram of an electronic device for deploying an OTA server
  • Fig. 4 shows the structural schematic diagram of Tbox
  • Fig. 5a provides a kind of schematic flow chart of software upgrade
  • Figure 5b shows a flowchart of an OTA-based upgrade method according to an embodiment of the present application
  • FIG. 6 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application
  • FIG. 7 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application
  • FIG. 8 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application
  • FIG. 9 shows a schematic structural diagram of an OTA-based upgrade apparatus according to an embodiment of the present application.
  • FIG. 1 shows a schematic diagram of a network architecture provided by an embodiment of the present application.
  • the network architecture may include an Over the Air technology (OTA) server, a wireless communication link, and a vehicle.
  • OTA Over the Air technology
  • the vehicle can communicate with the OTA server through a mobile communication network (eg, 2G/3G/4G/5G network), and can also communicate with the OTA server through a wireless local area network (WLAN).
  • WLAN wireless local area network
  • the vehicle at least includes a gateway (GateWay, GW), a mobile data center (Mobile Data Center, MDC), a human-machine interaction system (Human-Machine Interaction, HMI), a telematics control unit (Telematics Control Unit, TCU), automotive box (Telematics box, Tbox), electronic control unit (Electronic Control Unit, ECU) and other components.
  • a gateway GateWay, GW
  • MDC Mobile Data Center
  • HMI Human-Machine Interaction
  • TCU Telematics control unit
  • automotive box Telematics box, Tbox
  • ECU Electronic Control Unit
  • the GW is the core component in the electronic and electrical architecture of the vehicle.
  • GW can integrate the Controller Area Network (CAN), Local Interconnect Network (LIN), multimedia Network data such as software upgrade (Media Oriented System Transport, MOST) networks are routed in different networks.
  • MDC is an intelligent in-vehicle computing platform for vehicles, and MDC can be used to realize automatic driving functions of vehicles.
  • HMI is the infotainment system of the vehicle.
  • TCU and Tbox are mainly used to communicate with external devices of the vehicle (such as mobile phones, background systems, etc.).
  • ECU is a vehicle-specific microcomputer controller.
  • ECUs include but are not limited to Vehicle Integrated/Intergration Unit (VIU), Cockpit Domain Controller (CDC), Vehicle Domain Controller (VDC), etc.
  • the first component to be upgraded includes but is not limited to the aforementioned GW, MDC, HMI, TCU, Tbox, and ECU, and the first component to be upgraded may include the aforementioned GW, MDC, HMI, TCU, Tbox, and ECU one or more of the.
  • Vehicle OTA upgrade usually involves the upgrade of multiple components in the vehicle, so an OTA management module (which can be called an OTA Master module) is required to coordinate the upgrade of these multiple components.
  • the OTA management module can run on the GW, Tbox and other components of the vehicle, and coordinate the OTA upgrade modules (which can be called OTA Slave modules) of other components to complete the vehicle upgrade together.
  • FIG. 2 shows a schematic diagram of a network architecture provided by an embodiment of the present application.
  • the OTA management module is deployed in the GW of the vehicle, and the OTA upgrade module is deployed in other parts of the vehicle.
  • the OTA management module can coordinate the OTA upgrade modules deployed by each component to jointly complete the OTA upgrade of the entire vehicle.
  • the OTA management module and the OTA upgrade module need to perform some configurations, such as configuring certificates, private keys, and so on.
  • a secure channel can be established between the OTA server and the OTA management module, such as Hyper Text Transfer Protocol over SecureSocket layer (HTTPS), Transport Layer Security (TLS) or data packets Transport layer security protocol (Datagram Transport Layer Security, DTLS) and other security channels, so as to securely transmit information between the OTA server and the OTA management module, for example, securely transmit the policy packages, upgrade packages, The information of the second component and the first condition, etc.
  • HTTPS Hyper Text Transfer Protocol over SecureSocket layer
  • TLS Transport Layer Security
  • DTLS Datagram Transport Layer Security
  • the OTA server may be deployed on an electronic device with a wireless communication function and a storage function, or may be deployed on a virtual machine (Virtual Machine, VM) or a container on the cloud, where the cloud may be multiple electronic devices A cluster of devices.
  • FIG. 3 shows a schematic structural diagram of an electronic device for deploying an OTA server.
  • the electronic device may include at least one processor 301 , a memory 302 , an input and output device 303 and a bus 304 .
  • processor 301 the electronic device may include at least one processor 301 , a memory 302 , an input and output device 303 and a bus 304 .
  • the processor 301 is the control center of the electronic device, and may be a processor or a general term for multiple processing elements.
  • the processor 301 is a CPU, and may also be a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors A digital signal processor (DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • FPGA Field Programmable Gate Array
  • the processor 301 can execute various functions of the electronic device by running or executing software programs stored in the memory 302 and calling data stored in the memory 302 .
  • the processor 301 may include one or more CPUs, such as CPU 0 and CPU 1 shown in the figure.
  • the electronic device may include multiple processors, such as the processor 301 and the processor 305 shown in FIG. 3 .
  • processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU).
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • Memory 302 may be Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, Random Access Memory (RAM), or other types of information and instructions that can be stored It can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • EEPROM Electrically erasable programmable Read-only memory
  • CD-ROM Compact disc read-only memory
  • CD-ROM compact disc read-only memory
  • optical disk storage including compact discs, laser discs, optical discs, digital versatile discs
  • the memory 302 can exist independently and is connected to the processor 301 through the bus 304 .
  • the memory 302 may also be integrated with the processor 301 .
  • the memory may be used for a policy package, an upgrade package, and the like.
  • Input and output devices 303 for communicating with other devices or communication networks. For example, it is used to communicate with communication networks such as Ethernet, Radio access network (RAN), Wireless Local Area Networks (WLAN).
  • the input-output device 303 may include all or part of a baseband processor, and may optionally include a radio frequency (Radio Frequency, RF) processor.
  • the RF processor is used for transmitting and receiving RF signals
  • the baseband processor is used for processing the baseband signal converted by the RF signal or the baseband signal to be converted into the RF signal.
  • the input-output device 303 may include a transmitter and a receiver.
  • the transmitter is used to send signals to other devices or communication networks, and the receivers are used to receive signals sent by other devices or communication networks.
  • the transmitter and receiver can exist independently or can be integrated.
  • the input and output device may be used to send and receive: a policy package, an upgrade package, the information of the second component, the first condition, and the like.
  • the bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus and the like.
  • ISA Industry Standard Architecture
  • PCI peripheral device interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.
  • the device structure shown in FIG. 3 does not constitute a limitation to the electronic device, and may include more or less components than shown, or combine some components, or arrange different components.
  • the Tbox component can be used to deploy both the OTA management module and the OTA upgrade module.
  • FIG. 4 shows a schematic diagram of the structure of the Tbox.
  • the Tbox 40 includes an application layer microprocessor unit (MicroProcessor Unit, MPU) 41 and a microcontroller unit (MicroController Unit, MCU) 42 .
  • MPU application layer microprocessor unit
  • MCU microcontroller unit
  • the MPU 41 is mainly used to implement application program functions
  • the MCU 42 is mainly used to control power management and access the vehicle CAN bus.
  • Communication between the MPU 41 and the MCU 42 is performed through a General Purpose Input Output (GPIO) interface and a Serial Peripheral Interface (SPI).
  • GPIO General Purpose Input Output
  • SPI Serial Peripheral Interface
  • the MPU 41 includes a host computer 411 and a wireless communication module 412.
  • the host computer 411 corresponds to the chip function layer
  • the wireless communication module 412 corresponds to the chip wireless communication layer.
  • the MPU 41 may also include a microprocessor (not shown), which may include one or more processing units, for example: the microprocessor includes an application processor (application processor, AP), a modem processor, Graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or Neural-network Processing Unit (NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. Among them, the controller can be the nerve center and command center of the MPU 41 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
  • the microprocessor includes an application processor (application processor, AP), a modem processor, Graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or Neural-network Processing Unit (NPU), etc.
  • different processing units may be
  • Memory may also be provided in the microprocessor for storing instructions and data.
  • the memory in the microprocessor is a cache memory. This memory can hold instructions or data that have just been used or cycled by the microprocessor. If the microprocessor needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the microprocessor is reduced, thereby improving the efficiency of the system.
  • the microprocessor may run the OTA-based upgrade method provided by the embodiment of the present application, so as to reduce the upgrade error rate and improve the user experience.
  • the microprocessor may include different devices. For example, when the CPU and the GPU are integrated, the CPU and the GPU may cooperate to execute the OTA-based upgrade method provided by the embodiments of the present application. For example, in the OTA-based upgrade method, some algorithms are executed by the CPU, and another part of the algorithms Executed by GPU for faster processing efficiency.
  • the wireless communication module 412 can establish a connection with the OTA server through the antenna, and transmit the upgrade package and the policy package according to the OTA-based upgrade method provided by the embodiment of the present application Wait.
  • MPU 41 may also include internal memory (not shown).
  • Internal memory may be used to store computer executable program code, which includes instructions.
  • the microprocessor executes various functional applications and data processing of the MPU 41 by executing the instructions stored in the internal memory.
  • the internal memory may include a stored program area and a stored data area. Among them, the stored program area can store the operating system, the code of the application program, and the like.
  • the internal memory may also store one or more computer programs corresponding to the OTA-based upgrade method provided by the embodiments of the present application.
  • the one or more computer programs are stored in the above-mentioned memory and configured to be executed by the above-mentioned one or more microprocessors, and the one or more computer programs include instructions that can be used to execute the program according to the embodiments of the present application.
  • the individual steps of the OTA-based upgrade method are stored in the above-mentioned memory and configured to be executed by the above-mentioned one or more microprocessors, and the one or more computer programs include instructions that can be used to execute the program according to the embodiments of the present application. The individual steps of the OTA-based upgrade method.
  • the wireless communication module 412 can provide applications in the Tbox 40 including Long Term Evolution (LTE), IP Multimedia Subsystem (IMS), New Radio (NR) communication technology, or the fifth generation Communication technology (the 5 Generation Mobile Communication Technology, 5G) and other wireless communication solutions.
  • the wireless communication module 412 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like.
  • the wireless communication module 412 can receive electromagnetic waves by an antenna (not shown), filter, amplify, etc. the received electromagnetic waves, and transmit them to a modulation and demodulation processor for demodulation.
  • the wireless communication module 412 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna.
  • the wireless communication module 412 may be used for information interaction with the OTA server and other electronic devices (eg, mobile phones, tablets, personal computing, etc.). For example, the wireless communication module 412 may be used to transmit software information, firmware information, hardware information, upgrade packages and policy packages with the OTA server. The wireless communication module 412 may also be used to transmit a notification with other electronic devices that the hardware information does not meet the corresponding hardware requirements.
  • the wireless communication module 412 may be used for information interaction with the OTA server and other electronic devices (eg, mobile phones, tablets, personal computing, etc.).
  • the wireless communication module 412 may be used to transmit software information, firmware information, hardware information, upgrade packages and policy packages with the OTA server.
  • the wireless communication module 412 may also be used to transmit a notification with other electronic devices that the hardware information does not meet the corresponding hardware requirements.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low frequency baseband signal is processed by the baseband processor and passed to the application processor.
  • the application processor outputs sound signals through audio devices (not limited to speakers, microphones, etc.), or displays images or videos through a display screen.
  • the modem processor may be a stand-alone device.
  • the modem processor may be independent of the microprocessor, and be provided in the same device as the wireless communication module 412 or other functional modules.
  • the MCU 42 can be connected to the vehicle through the Ethernet, and can also be connected to other components in the vehicle body through the CAN network, such as sensors arranged on the vehicle body.
  • the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the Tbox.
  • the Tbox may include more or less components than shown, or some components are combined, or some components are split, or different components are arranged.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • Figure 5a provides a schematic flowchart of a software upgrade. This flow can be applied to the architecture shown in Figure 2.
  • the software upgrade process includes: 1. The OTA server signs the upgrade package; 2. The OTA server issues the signed upgrade package through the secure channel; 3. The OTA management module downloads the signed upgrade package through the secure channel; 4. . The OTA management module verifies the signature of the upgrade package; 5. After the signature verification is passed, the OTA management module disassembles and distributes the upgrade package to the OTA upgrade module of the corresponding component; 6. The OTA upgrade module receives the upgrade package distributed by the OTA management module; 7. , The OTA upgrade module installs and activates the upgrade package according to the instructions of the OTA management module.
  • the OTA server when the OTA server issues a signed upgrade package to the OTA management module, it also issues a policy package to the OTA management module, where the policy package indicates the software upgrade sequence of each component in the vehicle.
  • the OTA management module may send a software upgrade instruction to the OTA upgrade module deployed on the first component.
  • the OTA upgrade module of the first component After receiving the software upgrade instruction, the OTA upgrade module of the first component performs the installation and activation operations of the upgrade package, thereby realizing the upgrade of the first component.
  • the OTA upgrade module may send an upgrade completion message to the OTA management module, so that the OTA management module can determine the upgrade progress.
  • the OTA upgrade module after the OTA upgrade module receives the message that the first component is upgraded, it can determine A software upgrade operation of another component is performed. In yet another example, after the OTA receives a message that the upgrade of the first component is completed, it may determine that all the upgrades are completed.
  • upgrade packages for some components requires the software, hardware or firmware of other components to meet certain conditions.
  • new automatic driving functions may require related sensors to be used in specific software and hardware versions. If the relevant sensor is not in a specific software version and/or hardware version, even if the new automatic driving function is upgraded, the function may not be available, for example, it may prompt that the sensor is not detected, or because the sensor has not been received. Detecting data and reporting errors, etc.
  • the embodiments of the present application provide an OTA-based upgrade method, which can provide guarantee for component upgrade, improve the probability of successful component upgrade, and thus improve user experience.
  • the OTA-based upgrade method provided in the embodiment of the present application can realize both the upgrade of the entire vehicle (that is, the upgrade of multiple components in the vehicle based on OTA), and the software upgrade of a single component in the vehicle (that is, the upgrade of the vehicle based on OTA). to upgrade any of the components).
  • each component to be upgraded can be upgraded separately according to a certain upgrade sequence.
  • the OTA-based upgrade method provided by the embodiment of the present application is described below by taking the first component as the component to be upgraded as an example.
  • the first component may be any component.
  • the first component may be any one of multiple components that need to be upgraded in the whole vehicle upgrade, or may be a single upgraded component.
  • the upgrade method of other components that need to be upgraded is the same as the upgrade method of the first component, which is not repeated in the embodiment of the present application.
  • the OTA-based upgrade method provided in this embodiment of the present application may be applied to the architecture shown in FIG. 2 .
  • the method may be performed by any one of the OTA server, the OTA management module, and the OTA upgrade module.
  • FIG. 5b shows a flowchart of an OTA-based upgrade method according to an embodiment of the present application. As shown in Figure 5b, the method may include:
  • Step S501 acquiring information of a second component associated with the first component.
  • the first component may represent any component to be upgraded.
  • the second component associated with the first component may represent a component that needs to meet certain conditions when upgrading the first component.
  • the second component associated with the first component may include the first component, that is, the upgrade of the first component may require the first component itself to satisfy certain conditions.
  • the second component associated with the first component may include other components other than the first component, that is, the software upgrade of the first component may require the other components other than the first component to satisfy certain conditions.
  • Step S502 Determine whether the second component satisfies the first condition according to the information of the second component.
  • the condition that the second component needs to meet when the first component is upgraded may be referred to as the first condition. That is, when the second component satisfies the first condition, the first component can be upgraded, and when the second component does not satisfy the first condition, the first component cannot be upgraded.
  • the second component may be determined whether the second component satisfies the first condition according to the information of the second component.
  • the information of the second component is at least one item of hardware information, software information and firmware information.
  • the hardware information may include a hardware version number and/or a hardware model; the software information may include a software version number; and the firmware information may include a firmware version number.
  • the first condition may be that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded.
  • the first part when the first part is upgraded, if the information of the second part satisfies the matching range of the information of the second part required for the upgrade of the first part, it indicates that the second part satisfies the first condition, and the matching The upgrade of the first component; if the information of the second component does not meet the matching range of the information of the second component required for the upgrade of the first component, it indicates that the second component does not meet the first condition, and the first component cannot be upgraded at this time. upgrade.
  • the matching range of the information of the second component required when the first component is upgraded may be generated by an OTA server or a content delivery network (Content Delivery Network, CDN).
  • the OTA server may determine the software version information of the first component after the upgrade according to the software version information of the first component before the upgrade; and generate the first component upgrade according to the software version information of the first component after the upgrade When the matching range of the information of the second part is required.
  • the OTA server may obtain, from the CDN, the matching range of the information of the second component required for the upgrade of the first component according to the software version information of the first component after the upgrade.
  • the matching range of the information of the second component required when the first component is upgraded may be included in the first policy package for instructing the first component to be upgraded.
  • the matching range of the information of the second component required when the first component is upgraded may involve one or more second components.
  • the matching range of the information of the second component required when the first component is upgraded may involve the hardware information, software information and firmware information of the second component one or more of.
  • the matching range of the information of the second component required when the first component is upgraded may be the hardware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to satisfy the hardware information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
  • the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0 or above. If the hardware version of the second component A is 2.0 when the first component is upgraded, it indicates that the second component A does not meet the first condition, and the upgrade of the first component cannot be implemented. If the hardware version of the second component is 3.0 or 4.0 when the first component is upgraded, it indicates that the second component A satisfies the first condition, and the first component can be upgraded. Assuming that the first component is upgraded from software version 1.0 to software version 2.0, the hardware version of the second component A is 3.0 and the hardware model is 1234 or 1235. When upgrading the first component, the first component can be upgraded only when the hardware version of the second component A is 3.0 and the hardware model is one of 1234 and 1235.
  • the matching range of the information of the second component required when the first component is upgraded may be the software information of the second component A. That is to say, when the first component is upgraded, the software information of the second component A needs to satisfy the software information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
  • the software version of the second component A is below 4.0, it cannot support the upgrade of the first component from software version 1.0 to software version 2.0, while the version of the second component A is above 6.0, indicating that the software of the first component The version has been upgraded to 2.0 or above, and the software version of the first component does not need to be upgraded. That is to say, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component can be : The software version of the second part A is between 4.0 and 6.0. If the software version of the second component A is 4.0, 5.0 or 6.0 when the first component is upgraded, it indicates that the second component A satisfies the first condition and the first component can be upgraded. If the software version of the second component A is below 4.0 (such as 2.0, 3.0, 3.1 or 3.22, etc.) or above 6.0 (such as 6.11, 7.0, or 8.0, etc.) when upgrading the first component, the first component cannot be upgraded.
  • the matching range of the information of the second component required when the first component is upgraded may be the firmware information of the second component A. That is, when the first component is upgraded, the hardware information of the second component A needs to satisfy the firmware information of the second component A required for the first component to be upgraded, so that the first component can be upgraded.
  • the required matching range of the information of the second component may be: the firmware version of the second component A is 4.0, 6.0 or 8.0. If the firmware version of the second component A is not one of 4.0, 6.0 and 8.0 when the first component is upgraded, the upgrade of the first component cannot be implemented.
  • the required matching range of the information of the second component may be: the firmware version of the second component A is not 3.0.
  • the matching range of the information of the second component required when the first component is upgraded may be the hardware information and software information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the software information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. Only the software information of the second component A is required to realize the upgrade of the first component.
  • the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0 or 5.0, the hardware model is 1234, and the software version is 2.0 or more.
  • the matching range of the information of the second component required when the first component is upgraded may be the hardware information and firmware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the firmware information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. Only the firmware information of the second component A is required to realize the upgrade of the first component.
  • the required matching range of the information of the second component may be: the hardware model of the second component A is 1234 or 1235, and the firmware version is 2.0.
  • the matching range of the information of the second component required when the first component is upgraded may be the software information and firmware information of the second component A. That is to say, when the first component is upgraded, the software information of the second component A needs to meet the software information of the second component A required when the first component is upgraded, and the firmware information of the second component A needs to meet the software information of the second component A when the first component is upgraded. Only the firmware information of the second component A is required to realize the upgrade of the first component.
  • the required matching range of the information of the second component may be: the software version of the second component A is 4.0 or above, and the firmware version is 2.0.
  • the matching range of the information of the second component required when the first component is upgraded may be the hardware information, software information and firmware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the software information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. The software information of the second component A is required, and the firmware information of the second component A needs to satisfy the firmware information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
  • the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0, the software version is 4.0, and the firmware version is 2.0.
  • the matching range of the information of the second component required when the first component is upgraded may be the software information of the second component A and the hardware information of the second component B. That is to say, when the first component is upgraded, the software information of the second component A needs to meet the software information of the second component A required for the upgrade of the first component, and the hardware information of the second component B needs to meet the requirements for the upgrade of the first component. Only the hardware information of the second component B is required to realize the upgrade of the first component.
  • the matching range of the information of the second component required may be: the software version of the second component A is 2.0 or above, and the hardware version of the second component B is is 3.0 or higher, and the hardware model of the second component B is any model except 1234.
  • the matching range of the information of the second component required when the first component is upgraded may be the firmware information and software information of the second component A, the hardware information of the second component B, and the second component C's software information, firmware information and hardware information. That is to say, when the first component is upgraded, the firmware information and software information of the second component A need to satisfy the firmware information and software information of the second component A required by the upgrade of the first component, respectively, and the hardware information of the second component B needs to be Satisfy the hardware information of the second component B required when the first component is upgraded, and the software information of the second component C needs to meet the software information of the second component C and the firmware information of the second component C required when the first component is upgraded It is necessary to satisfy the firmware information of the second component C required when the first component is upgraded, and the hardware information of the second component C to meet the hardware information of the second component C required when the first component is upgraded, in order to realize the upgrade of the first component .
  • the first component is the MDC
  • the current software version of the MDC needs to be 2.0
  • the software version of the sensor 1 in the MDC needs to be 2.0
  • the hardware model of the sensor 2 is XXXX.
  • the second component associated with the first component includes the MDC, sensor 1 and sensor 2.
  • the matching range of the information of the second component required when the first component is upgraded is: software information of the MDC, sensor 1 software information, and hardware information of sensor 2.
  • the software information of MDC satisfies that the software version of MDC is 2.0
  • the software information of sensor 1 satisfies that the software version of sensor 1 is 2.0
  • the hardware information of sensor 2 satisfies that when the hardware model of sensor 2 is XXXX, It indicates that the second component associated with the MDC satisfies the first condition, and the MDC can be upgraded.
  • the first component may be any component of the vehicle, which is not limited in this embodiment of the present application.
  • Step S503 when the second component satisfies the first condition, upgrade the first component through OTA.
  • an upgrade package of the first component may be downloaded, installed and activated from an OTA server or CDN through OTA, so as to upgrade the first component.
  • the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded
  • the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
  • the information of the second component may be at least one of hardware information, software information and firmware information. Therefore, one or more of hardware information, software information and firmware information may be involved in the matching range of the information of the second component required when the first component is upgraded.
  • the software information and firmware information can be changed by upgrading the second component, and the hardware information can only be changed by replacing the hardware of the second component.
  • the second component may be upgraded so that the second component satisfies the first condition. a condition. After the first condition is met, the first component is upgraded.
  • the matching range of the information of the second component required when the first component is upgraded may include software information and/or firmware information.
  • the second component may be upgraded, so that the upgraded information of the second component satisfies the second component required when the first component is upgraded
  • the matching range of the information so that the upgraded second component satisfies the first condition.
  • the first part can be upgraded via OTA.
  • the associated second component satisfies the first condition, thereby reducing the possibility of upgrade errors and improving user experience.
  • the software information and/or firmware information in the information of the second component does not meet the first condition, the second component is upgraded first, and then the first component is upgraded, so that the probability of successful upgrade of the first component can be improved. Conducive to the upgrade of the first part.
  • the vehicle end may be notified that the upgrade fails, so as to facilitate the user to conduct investigation.
  • the on-board upgrade failure is notified.
  • the matching range of the information of the second component required when the first component is upgraded may include hardware information. If the hardware information of the second component does not meet the above-mentioned first condition, upgrading the software of the second component cannot make the second component meet the first condition, and the hardware of the second component needs to be replaced to make the second component meet the first condition. condition. Therefore, in the case that the hardware information in the information of the second component does not meet the first condition, the on-board upgrade failure can be notified, so as to facilitate the user to replace the hardware.
  • the method shown in FIG. 5b may be performed by any one of the OTA server, the OTA management module and the OTA upgrade module.
  • the interaction flow between the OTA server, the OTA management module and the OTA upgrade module can be referred to in FIG. 6 .
  • the interaction flow between the OTA server, the OTA management module and the OTA upgrade module may refer to FIG. 7 .
  • the interaction flow between the OTA server, the OTA management module and the OTA upgrade module can be referred to in FIG. 8 .
  • FIG. 6 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application.
  • the OTA-based upgrade method includes:
  • Step S601 the OTA management module collects software information, firmware information and hardware information of each component in the vehicle.
  • the software information may include a software version number
  • the firmware information may include a firmware version number
  • the hardware information may include a hardware model and/or a hardware version number.
  • Components in the vehicle include, but are not limited to, the components shown in FIG. 2 .
  • the OTA management module may be deployed in the GW (as shown in FIG. 2 ), or may be deployed in other components (not shown), for example, in the Tbox, which is not limited in this embodiment of the present application.
  • the OTA management module may send a message to collect the information of the component to the OTA upgrade module deployed by each component. After each component is deployed, the OTA upgrade module can return one or more of the software information, firmware information and hardware information of the component to the OTA management module after receiving the message of collecting the information of the software and hardware components.
  • Step S602 the OTA management module reports the software information, firmware information and hardware information of each component to the OTA server.
  • the OTA management module After the OTA management module confirms that each OTA upgrade module completes the information reporting, it can report the collected information of each component to the OTA server.
  • the OTA management module may send the identities of the components, and the information associated with each identity, to the OTA server.
  • the identifier of the component may be used to identify a unique component, and the identifier of the component may include the name of the component, the number of the component, or the address of the component, etc., which is not limited in this application.
  • the OTA management module may collect the information of each component in the vehicle and send it to the OTA server under the condition of establishing a wireless communication link with the OTA server or under the condition of receiving the indication of the reporting information sent by the OTA server.
  • the OTA server reports the information of each component.
  • the OTA management module can also periodically collect the information of various components in the vehicle, and when a wireless communication link is established with the OTA server or when receiving an indication of the reported information sent by the OTA server, the currently collected The information of each component is reported to the OTA server.
  • the timing of collecting the information of each component and reporting the information of each component by the OTA management module is not limited.
  • Step S603 the OTA server obtains the first policy package corresponding to the first component.
  • the first policy package may be used to represent a policy package corresponding to the first component.
  • the first policy package may be used to instruct to upgrade the first component.
  • the first policy package includes a first condition, that is, a condition that needs to be satisfied by the second component associated with the first component when the first component is upgraded.
  • the first policy package may include the identifier of the second component associated with the first component, and the first condition. In this way, the OTA server can find out the information of the second component associated with the first component from the information of each component reported by the OTA management module according to the identifier of the second component.
  • the first policy package may further include upgrade conditions, upgrade types, upgrade order, user notification policy, upgrade package size, and upgrade package download address, and the like.
  • the upgrade conditions may include: the vehicle is not in the following states: emergency handling state, the engine is in working state, the storage space is insufficient, the remaining flow rate is lower than a preset flow rate threshold, and the like.
  • the downloading process of the upgrade package is prone to a situation such as a download endpoint, which in turn causes the download of the upgrade package to fail.
  • Upgrade types can include: silent (upgrade without user notification), regular (upgrade with user consent), and mandatory (upgrade without user consent after notification).
  • the upgrade sequence may indicate the chronological sequence of upgrades of different components.
  • the size of the upgrade package is generally from a few M to a dozen M.
  • the upgrade package download address can point to an OTA server or a Content Delivery Network (CDN), that is, the upgrade package can be downloaded from an OTA server or a CDN server.
  • CDN Content Delivery Network
  • the OTA server may determine the software version information of the first component after the upgrade according to the software version information of the first component before the upgrade, and obtain the upgrade of the first component from the software warehouse according to the software version information of the first component after the upgrade The download address of the package or the upgrade package of the first component.
  • the OTA server may generate the first policy package according to the software version information of the first component before the upgrade and the software version information of the first component after the upgrade.
  • the above-mentioned first policy package can also be generated by the software warehouse according to the software version information of the first component before the upgrade and the software version information of the first component after the upgrade, and the OTA server can obtain the first policy package from the software warehouse.
  • the method for generating the first policy package is not limited.
  • Step S604 the OTA server searches for the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
  • the first policy package may include the identification of one or more second components. Because through steps S601 and S602, the OTA server obtains the information of various components in the vehicle. Therefore, the OTA server can separately find information about each second component associated with the first component in the acquired information according to the identifier of each second component.
  • the information of the second component searched in this step may include one or more of software information, firmware information and hardware information.
  • the content of the information to be specifically searched for may be determined according to the matching range indicated in the first condition.
  • the matching range of the second component A indicated in the first condition is software information and firmware information
  • the information of the second component found is the software information and firmware information of the second component A.
  • the matching range of the second component B indicated in the first condition is software information and hardware information
  • the information of the second component found is the software information and firmware information of the second component B.
  • the software information, firmware information and hardware information of the second component can be found out, and when it is subsequently determined whether the second component satisfies the first condition, the required information can be selected for matching.
  • Step S605 the OTA server determines whether the second component satisfies the first condition according to the found information of the second component.
  • the first condition is that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded. It will be understood that there may be one or more second components associated with the first component. For each second part, there is a matching range of the information of the second part required when the first part is upgraded.
  • the OTA server can obtain the matching range (ie, the first condition) of the information of the second component required when the first component is upgraded, and through step S604, the OTA server can obtain the Information about the second part. Based on this, in this step, the OTA server may determine whether the second component satisfies the first condition according to the information of the second component. When the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded, it may be determined that the second component satisfies the first condition.
  • the first component can be upgraded, and steps S606 to S608 can be performed at this time.
  • Step S606 the OTA server sends the first policy package to the OTA management module.
  • Step S607 when the first policy package instructs to perform the upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
  • the upgrade instruction is used to instruct the OTA upgrade module to perform an upgrade operation, specifically installing and activating the upgrade package.
  • the first policy package includes an upgrade condition, an upgrade type, and an upgrade sequence
  • the upgrade condition is that the engine is not in a working state
  • the upgrade type is silent
  • the upgrade sequence is the first upgrade.
  • Step S608 after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
  • the upgrade instruction sent in step S607 may include an upgrade package of the first component.
  • the OTA upgrade module may obtain the upgrade package of the first component from the upgrade instruction, and install and activate the upgrade package of the first component to upgrade the first component.
  • the upgrade package of the first component here may be delivered by the OTA server to the OTA management module when the first policy package is delivered in step 606, or after the OTA management module receives the first policy package, It is downloaded according to the download address in the first policy package (from the OTA server or CDN).
  • the upgrade instruction sent in step S607 may include the download address of the upgrade package of the first component.
  • the OTA upgrade module may obtain the download address of the upgrade package of the first component from the upgrade instruction, and download the upgrade package of the first component according to the download address (from the OTA server or CDN). , install and activate the upgrade package for the first part to upgrade the first part.
  • the embodiment of the present application implements the upgrade of the first component through OTA, and the embodiment of the present application does not limit the manner of acquiring the upgrade package of the first component.
  • the information of the second component may be at least one of hardware information, software information and firmware information.
  • the fact that the second component does not satisfy the first condition may be caused by the fact that the software information and/or firmware information of the second component does not meet the software information and/or firmware information of the second component required for upgrading the first component, or it may be caused by the The hardware information of the second component does not meet the hardware information of the second component required for upgrading the first component. It may also be caused by the software information and/or firmware information of the second component, as well as the hardware information, which do not meet the requirements for upgrading the first component. When required, the software information and/or firmware information of the second component, as well as the hardware information.
  • the software information and/or firmware information of the second component can be updated to satisfy the software information and/or firmware of the second component required for upgrading the first component by upgrading the second component. information, so that the second component satisfies the first condition.
  • the hardware information is not satisfied, the first component needs to be replaced by replacing the hardware.
  • steps S609 to S613 may be performed.
  • Step S609 the OTA server obtains the upgrade package of the second component whose software information and/or firmware information does not meet the first condition, and the second policy package corresponding to the second component.
  • the matching range of the information of the second component required when the first component is upgraded includes software information and/or firmware information
  • the second component If the software information and/or firmware information of the component does not satisfy the software information and/or firmware information of the second component required for the upgrade of the first component indicated in the first condition, it indicates that the software information of the second component does not Satisfying the first condition, the second component may be determined as a second component whose software information and/or firmware information does not satisfy the first condition.
  • the second component For the second component whose software information and/or firmware information does not meet the first condition, the second component needs to be upgraded first, so that the software information and/or firmware information of the second component satisfies the first condition, and then the first component needs to be upgraded.
  • the associated second component satisfies the first condition. Therefore, the OTA server may obtain an upgrade package of the second component whose software information and/or firmware information does not satisfy the first condition, so as to upgrade the second component.
  • the second policy package may be used to represent the policy package corresponding to the second component.
  • the second policy package may be used to instruct to upgrade the second component.
  • the second policy package includes an upgrade sequence between the second components, and the OTA management module may instruct different second components to upgrade according to the upgrade sequence.
  • the second policy package may further include an identifier of a third component associated with the second component, and a second condition.
  • the third component associated with the second component may represent a component that needs to meet certain conditions when upgrading the second component.
  • the condition that the third component needs to meet when the second component is upgraded may be referred to as the second condition. That is, when the third component satisfies the second condition, the second component can be upgraded, and when the third component does not meet the second condition, the second component cannot be upgraded.
  • the second condition may be that when the second component is upgraded, the information of the third component satisfies the matching range of the information of the third component required when the second component is upgraded. For the second condition, reference may be made to the first condition, which will not be repeated here.
  • the second policy package may further include upgrade conditions, upgrade type, upgrade sequence, user notification policy, upgrade package size, and upgrade package download address, and the like.
  • upgrade conditions for the second policy package, reference may be made to the first policy package, which will not be repeated here.
  • Step S610 the OTA server sends the first policy package, the upgrade package of the second component, and the second policy package to the OTA management module.
  • Step S611 when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the software information and/or firmware information do not meet the first condition.
  • the second component satisfies the first condition.
  • the software information and/or firmware information of the second component When the software information and/or firmware information of the second component satisfies the first condition, it indicates that the first component has the conditions for software upgrade, and the first component can be upgraded.
  • Step S612 when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
  • Step S613 after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
  • steps S612 and S613 reference may be made to steps S607 and S608, which will not be repeated here.
  • steps S614 and S615 can be performed to facilitate the user to understand the situation, Improve user experience.
  • Step S614 the OTA server sends an upgrade failure message to the OTA management module.
  • the upgrade failure message may include the identifier of the second component whose hardware information does not meet the first condition, the current hardware version number and/or hardware model, and the required hardware version number and/or hardware model.
  • Step S615 after receiving the upgrade failure message, the OTA management module notifies the user.
  • the OTA management module can notify the user of which component's hardware does not meet the hardware requirements, what is the current hardware information of the component, and what hardware requirements are required for the upgrade.
  • the content of the notification may refer to the content of the upgrade failure message in step S614.
  • the OTA management module can notify the user through an on-board human-computer interaction system (such as an audio-visual system), and can also send a notification to a terminal device (such as a mobile phone, a laptop, etc.) that has established a communication connection with components such as the Tbox. The notification is presented to the user by the end device.
  • the OTA-based upgrade method provided by the embodiment of the present application, when the first component is upgraded, it is checked whether the second component associated with the first component satisfies the first condition, so as to improve the successful installation and activation of the upgrade package of the first component The possibility of reducing the upgrade error rate and improving the user experience.
  • the checking of the second component is performed by the OTA server without modifying the logic of the OTA management module, thereby reducing the requirements for the OTA management module.
  • FIG. 7 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application.
  • the OTA-based upgrade method includes:
  • Step S701 the OTA management module collects software information, firmware information and hardware information of each component in the vehicle.
  • the OTA management module needs to determine whether the second component satisfies the first condition according to one or more of the software information, firmware information and hardware information of the second component associated with the first component, the OTA management module needs to collect the in-vehicle information.
  • Software information, firmware information and hardware information of each component are included in the software information, firmware information and hardware information of each component.
  • Step S702 the OTA management module reports the software information and/or firmware information of each component to the OTA server.
  • the software information and/or firmware information of the component needs to be used.
  • the software information needs to be used when the software is upgraded, and the firmware information needs to be used when the firmware is upgraded. Therefore, the OTA management module needs to report the software information and/or firmware information of each component to the OTA server.
  • the OTA management module does not need to report the hardware information of each component to the OTA server, so as to save the communication resources between the OTA management module and the OTA server and the OTA server's communication resources. storage resources.
  • Step S703 the OTA server obtains the first policy package corresponding to the first component.
  • Step S703 may refer to step S603 and will not be repeated here.
  • Step S704 the OTA server sends the first policy package to the OTA management module.
  • the OTA server Since the OTA server does not check whether the second component satisfies the first condition, after acquiring the first policy package, the OTA server can directly send the first policy package to the OTA management module.
  • Step S705 the OTA management module searches for the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
  • the OTA management module collects the information of each component in the vehicle. Therefore, the OTA management module can find the information of each second component associated with the first component in the collected information according to the identifier of each second component.
  • the found information of the second component may be one or more of software information, firmware information and hardware information. For this step, reference may be made to step S604, which will not be repeated here.
  • Step S706 the OTA management module determines whether the second component satisfies the first condition according to the found information of the second component.
  • Step S706 may refer to step S605, which will not be repeated here.
  • the second component associated with the first component satisfies the first condition, it indicates that the first component has the upgrade condition, the first component can be upgraded, and steps S707 and S708 can be executed at this time.
  • Step S707 when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
  • Step S708 after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
  • steps S707 and S708 reference may be made to steps S607 and S608, which will not be repeated here.
  • Step S709 the OTA management module sends a first request to the OTA server, where the first request is used to request to upgrade the second component.
  • the first request includes identifiers of one or more second components, as well as current software version information and required software version information of each second component (which can be obtained from the first condition).
  • Step S710 in response to the first request, the OTA server returns the upgrade package of the second component and the second policy package corresponding to the second component to the OTA management module.
  • the OTA server may obtain the upgrade package and the policy package of each second component from the software repository according to the software version information required by each second component and the current software version information.
  • Step S711 when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the The second component satisfies the first condition.
  • the OTA management module may send an upgrade instruction to the OTA upgrade module deployed on each second component according to the upgrade sequence indicated by the second policy package. After receiving the upgrade instruction, the OTA upgrade module deploying the second component can upgrade the second component.
  • the software upgrade method of the second component reference may be made to the software upgrade method of the first component, which will not be repeated here.
  • Step S711 may refer to step S611, which will not be repeated here.
  • Step S712 when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
  • Step S713 after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
  • Step S712 and step S713 can refer to step S607 and step S608, which will not be repeated here.
  • step S714 may be executed at this time.
  • Step S714 the OTA server sends an upgrade failure notification to the user.
  • the upgrade failure notification sent in this step may include the identifier of the second component whose hardware information does not meet the first condition, the current hardware version number and/or hardware model, and the required hardware version number and/or hardware model.
  • the OTA management module can notify the user through an on-board human-computer interaction system (such as an audio-visual system), and can also send the notification to an electronic device (such as a mobile phone, a laptop, etc.) that has established a communication connection with components such as the Tbox. The notification is presented to the user by the electronic device.
  • the OTA-based upgrade method when upgrading a first component, it is checked whether the second component satisfies the first condition according to the information of the second component associated with the first component, so as to ensure the upgrade package of the first component.
  • the successful installation and activation reduces the upgrade error rate and improves the user experience.
  • the checking of whether the second component meets the first condition is performed by the OTA management module, which can reduce the workload of the OTA server, which is beneficial for multiple vehicles (eg, vehicle groups) to perform OTA upgrades at the same time.
  • FIG. 8 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application.
  • the OTA-based upgrade method includes:
  • Step S801 the OTA management module collects software information and firmware information of each component in the vehicle.
  • Step S802 the OTA management module reports the software information and/or firmware information of each component to the OTA server.
  • the OTA management module does not need to collect the hardware information of each component in the vehicle, nor report the hardware information of each component to the OTA server.
  • Step S803 the OTA server obtains the first policy package corresponding to the first component.
  • Step S803 may refer to step S603, which will not be repeated here.
  • Step S804 the OTA server sends the first policy package to the OTA management module.
  • Step S805 when the first policy package instructs to perform the upgrade operation of the first component, the OTA management module sends the upgrade instruction and the first policy package to the OTA upgrade module deployed by the first component.
  • Step S806 in the case of receiving the upgrade instruction, the OTA upgrade module obtains the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
  • the information of the second component acquired in this step may include one or more of software information, firmware information and hardware information.
  • the OTA upgrade module may send a second request to the OTA management module, wherein the second request is used to obtain one or more of software information, firmware information and hardware information of the second component, and the second request Include the identification of one or more second components.
  • the OTA management module can obtain software information, firmware information and hardware information of the corresponding second component through the corresponding OTA upgrade module according to the identifier of the second component included in the second request.
  • the OTA management module may send the acquired software information, firmware information and hardware information to the OTA upgrade module deployed by the first component.
  • the OTA management module may not only collect the software information and firmware information of each component, but also the hardware information of each component of the mobile phone. In this way, after receiving the second request, the OTA management module may , the software information, firmware information and hardware information of the second component are searched locally without interacting with the OTA upgrade module deployed by the second component, which can save time.
  • Step S807 the OTA upgrade module determines whether the second component satisfies the first condition according to the acquired information of the second component.
  • step S808 can be performed at this time.
  • Step S808 the OTA upgrade module upgrades the first component.
  • Step S809 the OTA upgrade module sends a first request to the OTA management module, where the first request is used to request to upgrade the second component.
  • Step S810 the OTA management module sends a first request to the OTA server.
  • Step S809 and step S810 may refer to step S709, which will not be repeated here.
  • Step S811 in response to the first request, the OTA server returns the upgrade package of the second component and the second policy package corresponding to the second component to the OTA management module.
  • Step S811 may refer to step S710, which will not be repeated here.
  • Step S812 when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the software information and/or firmware information do not meet the first condition.
  • the second component satisfies the first condition.
  • Step S813 the OTA management module sends a second component upgrade completion message to the OTA upgrade module deployed on the first component.
  • Step S814 when the OTA upgrade module receives the second component upgrade completion message, it upgrades the first component.
  • steps S812 and S813 reference may be made to steps S807 and S808, which will not be repeated here.
  • steps S815 and S816 may be performed.
  • Step S815 the OTA upgrade module sends an upgrade failure message to the OTA management module.
  • Step S815 may refer to step S614, which will not be repeated here.
  • Step S816 after receiving the upgrade failure message, the OTA management module notifies the user.
  • Step S816 may refer to step S615, which will not be repeated here.
  • the OTA-based upgrade method when upgrading the software of the first component, it is checked whether the second component associated with the first component satisfies the first condition, so as to ensure the successful installation of the upgrade package of the first component and activation, which reduces the upgrade error rate and improves the user experience.
  • the check of whether the second component meets the first condition is performed by the OTA upgrade module, which can reduce the workload of the OTA server and the workload of the OTA management module, which is conducive to the synchronous upgrade of multiple components in the vehicle, especially the overall car upgrade.
  • Policy packages and upgrade packages need to be signed. After receiving the signed policy package or upgrade package, the OTA management module first verifies the signature of the policy package or upgrade package, and then performs subsequent processing after the signature verification is passed. Likewise, before sending the policy package or the upgrade package to the OTA upgrade module, the OTA management module needs to sign the policy package and the upgrade package. After receiving the signed policy package or upgrade package, the OTA upgrade module can first verify the signature of the policy package or upgrade package, and then perform subsequent processing after the signature verification is passed. In this way, data security can be improved and the possibility of upgrade errors can be reduced.
  • FIG. 9 shows a schematic structural diagram of an OTA-based upgrade apparatus according to an embodiment of the present application.
  • the device 90 may be provided in any one of an OTA server, an OTA management module and an OTA upgrade module.
  • the apparatus 90 may include:
  • the acquisition module 91 is used to acquire the information of the second part associated with the first part; the determination module 92 is used to determine whether the second part satisfies the first condition according to the information of the second part acquired by the acquisition module 91, and the first condition is When upgrading the first component, the second component needs to meet the conditions; the first upgrade module 93 is configured to upgrade the first component through OTA when the determination module 92 determines that the second component meets the first condition.
  • the first condition is that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded.
  • the information of the second component is at least one item of hardware information, software information, and firmware information.
  • the apparatus 90 further includes:
  • the second upgrade module is configured to upgrade the second component so that the second component meets the first condition when the software information and/or firmware information in the information of the second component does not meet the first condition.
  • the apparatus 90 further includes:
  • the notification module is configured to notify the on-board upgrade failure when the hardware information in the information of the second component does not meet the first condition.
  • the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded
  • the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
  • An embodiment of the present application provides an electronic device, including: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions.
  • Embodiments of the present application provide a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
  • An embodiment of the present application provides a software upgrade apparatus, including a memory and a processor, where the memory stores computer program instructions, and the processor executes the computer program instructions to execute the above method.
  • the apparatus further includes a transceiver for receiving a policy package, an upgrade package, an upgrade failure message or information of the second component, or for sending an upgrade instruction, At least one of upgrade failure notification, etc.
  • the above software upgrading apparatus can be applied to terminal equipment in the form of, but not limited to, intelligent networked vehicles, robots, and smart homes.
  • the software upgrade device may be the ICV itself, or a component of the ICV, such as a central gateway, a telematics BOX (T-box) , Human-Machine Interaction (HMI), Mobile Data Controller (MDC), Advanced Driving Assistant System (ADAS) or Electronic Control Unit (ECU), Or it is a sub-device in the above-mentioned components, or it can be an independent device in the intelligent networked vehicle in addition to the above-mentioned components.
  • T-box a telematics BOX
  • HMI Human-Machine Interaction
  • MDC Mobile Data Controller
  • ADAS Advanced Driving Assistant System
  • ECU Electronic Control Unit
  • Embodiments of the present application provide a software upgrade apparatus, including a memory and a processor, where the memory stores computer program instructions, and the processor executes the computer program instructions to execute the above method.
  • the apparatus further includes a transceiver for receiving the information of the second component, or for sending at least one of an upgrade package, a policy package, an upgrade failure message, etc. one.
  • the above-mentioned software upgrading apparatus can be applied to the network side, for example, exists in the form of a server on the network side.
  • Embodiments of the present application provide a terminal software upgrade system, including the above software upgrade apparatus applicable to a terminal device and the above software upgrade apparatus applicable to a network side.
  • Embodiments of the present application provide a computer-readable storage medium, including computer program instructions, which, when executed by a processor, cause the software upgrade apparatus to execute the above method.
  • An embodiment of the present application provides an electronic device, the electronic device includes a processor, and the processor is configured to support the electronic device to perform corresponding functions in the above method.
  • the electronic device may also include a memory for coupling with the processor that holds program instructions and data necessary for the electronic device.
  • the electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
  • An embodiment of the present application provides a chip system
  • the chip system includes a processor, and is used for an electronic device or a server to implement the functions involved in the above method, for example, for example, receiving or processing the data involved in the above method and/or information.
  • the chip system further includes a memory for storing necessary program instructions and data of the electronic device or server.
  • the chip system may be composed of chips, or may include chips and other discrete devices.
  • a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing.
  • Computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (Electrically Programmable Read-Only-Memory, EPROM or flash memory), static random access memory (Static Random-Access Memory, SRAM), portable compact disk read-only memory (Compact Disc Read-Only Memory, CD - ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanically encoded devices, such as punch cards or raised structures in grooves on which instructions are stored, and any suitable combination of the foregoing .
  • RAM random access memory
  • ROM read only memory
  • EPROM erasable programmable read-only memory
  • EPROM Errically Programmable Read-Only-Memory
  • SRAM static random access memory
  • portable compact disk read-only memory Compact Disc Read-Only Memory
  • CD - ROM Compact Disc Read-Only Memory
  • DVD Digital Video Disc
  • memory sticks floppy disks
  • Computer readable program instructions or code described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
  • Computer program instructions for carrying out the operations of the present application may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more source or object code written in any combination of programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages.
  • the computer readable program instructions 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 implement.
  • the remote computer may be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or, may be connected to an external computer (eg, use an internet service provider to connect via the internet).
  • electronic circuits such as programmable logic circuits, Field-Programmable Gate Arrays (FPGA), or Programmable Logic Arrays (Programmable Logic Arrays), are personalized by utilizing state information of computer-readable program instructions.
  • Logic Array, PLA the electronic circuit can execute computer readable program instructions to implement various aspects of the present application.
  • These computer readable program instructions may be provided to the processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
  • Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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.
  • each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented in hardware (eg, circuits or ASICs (Application) that perform the corresponding functions or actions. Specific Integrated Circuit, application-specific integrated circuit)), or can be implemented by a combination of hardware and software, such as firmware.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

An upgrading method and apparatus based on an over-the-air (OTA) technology. The method comprises: obtaining information of a second component associated with a first component (S501); according to the information of the second component, determining whether the second component satisfies a first condition (S502), wherein the first condition is a condition that the second component needs to satisfy when the first component is upgraded; and when the second component satisfies the first condition, upgrading the first component by means of OTA (S503). The upgrading method and apparatus based on the OTA technology can improve the reliability of OTA upgrading and improve user experience.

Description

基于空中下载技术OTA的升级方法及装置Upgrading method and device based on over-the-air download technology OTA 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种基于空中下载技术OTA的升级方法及装置。The present application relates to the field of communication technologies, and in particular, to an upgrade method and device based on the over-the-air download technology OTA.
背景技术Background technique
空中下载技术(Over the Air technology,OTA)是一种通过无线网络进行数据下载的技术,现已被广泛应用于智能电视、手机、平板电脑、机顶盒等设备的网络升级中。随着智能网联汽车的发展,OTA在线升级成为了汽车的重要功能,原始设备制造商(Original Equipment Manufacture,OEM)厂商通过OTA升级汽车的相关软件和固件,有利于OEM厂商减少召回成本,快速响应需求、提升用户体验。然而,某些软件包的使用需要依赖相关软件或硬件,以确保软件包的正确安装和使用。Over the Air technology (OTA) is a technology for downloading data through a wireless network. It has been widely used in network upgrades of smart TVs, mobile phones, tablet computers, set-top boxes and other devices. With the development of intelligent and connected vehicles, OTA online upgrade has become an important function of automobiles. Original equipment manufacturers (Original Equipment Manufacture, OEM) can upgrade the relevant software and firmware of automobiles through OTA, which is conducive to OEM manufacturers to reduce recall costs and quickly Respond to needs and improve user experience. However, the use of some software packages requires dependencies on related software or hardware to ensure proper installation and use of the software packages.
因此,亟需解决因相关软件或硬件不匹配而导致的升级失败的问题,进而提高OTA升级的可靠性。Therefore, there is an urgent need to solve the problem of upgrade failure caused by the mismatch of related software or hardware, so as to improve the reliability of OTA upgrade.
发明内容SUMMARY OF THE INVENTION
有鉴于此,提出了一种基于空中下载技术OTA的升级方法及装置,能够解决因相关软件或硬件不匹配而导致的升级失败的问题,进而提升OTA升级的可靠性。In view of this, an upgrade method and device based on the over-the-air download technology OTA are proposed, which can solve the problem of upgrade failure caused by the mismatch of related software or hardware, thereby improving the reliability of OTA upgrade.
第一方面,本申请的实施例提供了一种基于OTA的升级方法,所述方法包括:获取与第一部件关联的第二部件的信息;根据所述第二部件的信息确定所述第二部件是否满足第一条件,所述第一条件为升级所述第一部件时,所述第二部件需要满足的条件;在所述第二部件满足所述第一条件的情况下,通过所述OTA升级所述第一部件。In a first aspect, an embodiment of the present application provides an OTA-based upgrade method, the method includes: acquiring information of a second component associated with a first component; determining the second component according to the information of the second component Whether the component satisfies the first condition, the first condition is the condition that the second component needs to meet when the first component is upgraded; if the second component satisfies the first condition, the OTA upgrades the first component.
在本申请实施例中,通过在升级第一部件时,第一部件关联的第二部件的信息进行检查;在第二部件的信息满足第一部件升级时所需的第二部件的信息的匹配范围时,升级第一部件,从而降低了第一部件升级失败,以及进行第一部件升级后出现部分功能不可用、易出错等问题的可能,提高了OTA升级的可靠性,提升了用户体验。In this embodiment of the present application, when the first component is upgraded, the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded When the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
根据第一方面,在一种可能的实现方式中,所述第一条件为在升级所述第一部件时,所述第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。这样,可以提高第一条件的灵活性和准确性。According to the first aspect, in a possible implementation manner, the first condition is that when the first component is upgraded, the information of the second component satisfies the second requirement required when the first component is upgraded. The matching range of the part's information. In this way, the flexibility and accuracy of the first condition can be improved.
根据第一方面或者第一方面的一种可能的实现方式,在所述基于OTA的升级方法的第二种可能的实现方式中,所述第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。According to the first aspect or a possible implementation manner of the first aspect, in a second possible implementation manner of the OTA-based upgrade method, the information of the second component is hardware information, software information, and firmware information at least one of .
根据第一方面,在第一种可能的实现方式中,所述方法还包括:在所述第二部件的信息中的软件信息和/或固件信息不满足所述第一条件的情况下,则升级所述第二部件以使所述第二部件满足所述第一条件。According to the first aspect, in a first possible implementation manner, the method further includes: if the software information and/or firmware information in the information of the second component does not meet the first condition, then The second part is upgraded such that the second part satisfies the first condition.
这样,通过自动升级第二部件实现第一部件的升级,可以在用户无感知的情况下,完成基于OTA的第一部件的升级,有利于提升用户体验。In this way, by automatically upgrading the second part to realize the upgrade of the first part, the upgrade of the first part based on OTA can be completed without the user's perception, which is beneficial to improve the user experience.
根据一方面,在一种可能的实现方式,在所述基于OTA的升级方法的第四种可能的实现方式中,所述方法还包括:According to an aspect, in a possible implementation manner, in a fourth possible implementation manner of the OTA-based upgrade method, the method further includes:
在所述第二部件的信息中的硬件信息不满足所述第一条件的情况下,则通知车端升级失败。这样,可以便于用户了解升级失败的原因,便于用户更换硬件。In the case that the hardware information in the information of the second component does not satisfy the first condition, the vehicle end is notified that the upgrade fails. In this way, it is convenient for the user to know the reason for the failure of the upgrade, and it is convenient for the user to replace the hardware.
第二方面,本申请的实施例提供了一种基于OTA的升级装置,所述装置包括:In a second aspect, an embodiment of the present application provides an OTA-based upgrade device, the device comprising:
获取模块,用于获取与第一部件关联的第二部件的信息;an acquisition module for acquiring the information of the second component associated with the first component;
确定模块,用于根据所述获取模块获取的第二部件的信息确定所述第二部件是否满足第一条件,所述第一条件为升级所述第一部件时,所述第二部件需要满足的条件;第一升级模块,用于在所述确定模块确定第二部件满足所述第一条件的情况下,通过所述OTA升级所述第一部件。a determining module, configured to determine whether the second part satisfies a first condition according to the information of the second part acquired by the acquiring module, and the first condition is that when the first part is upgraded, the second part needs to satisfy The first upgrade module is configured to upgrade the first component through the OTA when the determining module determines that the second component satisfies the first condition.
根据第二方面,在一种可能的实现方式中,所述第一条件为在升级所述第一部件时,所述第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。According to the second aspect, in a possible implementation manner, the first condition is that when the first component is upgraded, the information of the second component satisfies the second requirement when the first component is upgraded. The matching range of the part's information.
根据第二方面,在一种可能的实现方式中,在所述基于OTA的升级装置的第二种可能的实现方式中,所述第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。According to the second aspect, in a possible implementation manner, in a second possible implementation manner of the OTA-based upgrade apparatus, the information of the second component is hardware information, software information, and firmware information. at least one.
根据第二方面,在一种可能的实现方式中,所述装置还包括:According to the second aspect, in a possible implementation manner, the apparatus further includes:
第二升级模块,用于在所述第二部件的信息中的软件信息和/或固件信息不满足所述第一条件的情况下,则升级所述第二部件以使所述第二部件满足所述第一条件。A second upgrade module, configured to upgrade the second component so that the second component satisfies the first condition if the software information and/or firmware information in the information of the second component does not satisfy the first condition the first condition.
根据第二方面,或者以上第二方面的任意一种可能的实现方式,在所述基于OTA的升级装置的第四种可能的实现方式中,所述装置还包括:According to the second aspect, or any one possible implementation manner of the above second aspect, in a fourth possible implementation manner of the OTA-based upgrading apparatus, the apparatus further includes:
通知模块,用于在所述第二部件的信息中的硬件信息不满足所述第一条件的情况下,则通知车端升级失败。The notification module is configured to notify the vehicle-end upgrade failure when the hardware information in the information of the second component does not meet the first condition.
第三方面,本申请的实施例提供了一种电子设备,该电子设备可以执行上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的基于OTA的升级方法。In a third aspect, embodiments of the present application provide an electronic device, which can execute the first aspect or one or more of the OTA-based upgrade methods in multiple possible implementations of the first aspect.
第四方面,本申请的实施例提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备中运行时,所述电子设备中的处理器执行上述第一方面或者第一方面的多种可能的实现方式中的一种或几种的基于OTA的升级方法。In a fourth aspect, embodiments of the present application provide a computer program product, comprising computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in an electronic When running in the device, the processor in the electronic device executes the first aspect or one or more of the OTA-based upgrade methods in the multiple possible implementation manners of the first aspect.
第五方面,本申请提供一种软件升级装置,包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以执行第一方面或以上第一方面的任意一种实现方式的操作。In a fifth aspect, the present application provides a software upgrade device, comprising a memory and a processor, the memory stores computer program instructions, and the processor executes the computer program instructions to execute the first aspect or any one of the above first aspects an implementation of the operation.
根据第五方面,在所述软件升级装置的第一种可能的实现方式中,所述装置还包括收发器,用于接收策略包、升级包、升级失败消息或第二部件的信息,或者用于发送升级指示、升级失败通知等中的至少一项。According to the fifth aspect, in a first possible implementation manner of the software upgrade apparatus, the apparatus further includes a transceiver, configured to receive a policy package, an upgrade package, an upgrade failure message or information of the second component, or use for sending at least one of upgrade instructions, upgrade failure notifications, etc.
上述第五方面,或第五方面的任意一种实现方式所描述的软件升级装置,可应用于包括但不限于智能网联车、机器人和智能家居等形式的终端设备。当应用于智能网联车时,所述软件升级装置可以是智能网联车本身,或者是智能网联车的一个部件,例如中央网关、车联网车端通信终端(Telematics BOX,T-box)、人机交互控制器 (Human-Machine Interaction,HMI)、移动数据中心(Mobile Data Controller,MDC)、高级驾驶辅助系统(Advanced Driving Assistant System,ADAS)或电子控制单元(Electronic Control Unit,ECU),又或者是上述部件内的一个子装置,还可以是除了上述部件以外智能网联车内的一个独立的装置。The above fifth aspect, or the software upgrade apparatus described in any implementation manner of the fifth aspect, can be applied to terminal devices in the form of, but not limited to, intelligent networked vehicles, robots, and smart homes. When applied to an ICV, the software upgrade device may be the ICV itself, or a component of the ICV, such as a central gateway, a telematics BOX, T-box. , Human-Machine Interaction (HMI), Mobile Data Controller (MDC), Advanced Driving Assistant System (ADAS) or Electronic Control Unit (ECU), Or it is a sub-device in the above-mentioned components, or it can be an independent device in the intelligent networked vehicle in addition to the above-mentioned components.
第六方面,本申请提供一种软件升级装置,包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以执行第一方面或第一方面的任意一种实现方式的操作。In a sixth aspect, the present application provides a software upgrade device, comprising a memory and a processor, the memory stores computer program instructions, and the processor executes the computer program instructions to execute the first aspect or any one of the first aspects Implementation of the operation.
根据第六方面,在所述软件升级装置的第一种可能的实现方式中,所述装置还包括收发器,用于接收第二部件的信息,或者用于发送升级包、策略包、升级失败消息等中的至少一项。According to the sixth aspect, in a first possible implementation manner of the software upgrade apparatus, the apparatus further includes a transceiver for receiving information of the second component, or for sending an upgrade package, a policy package, an upgrade failure at least one of messages, etc.
上述第六方面,或第六方面的任意一种实现方式所描述的软件升级装置,可应用于网络侧,例如以网络侧的一个服务器形式存在。The above sixth aspect, or the software upgrade apparatus described in any implementation manner of the sixth aspect, can be applied to the network side, for example, exists in the form of a server on the network side.
第七方面,本申请提供一种终端软件升级系统,包括第五方面或以上第五方面的任意一种实现方式的软件升级装置和第六方面或以上第六方面的任意一种实现方式的软件升级装置。In a seventh aspect, the present application provides a terminal software upgrade system, including a software upgrade device of the fifth aspect or any implementation manner of the above fifth aspect and software of the sixth aspect or any implementation manner of the above sixth aspect Upgrade the device.
第八方面,本申请提供一种计算机可读存储介质,包括计算机指令,当所述计算机指令在被处理器运行时,使得所述软件升级装置执行第一方面或以上第一方面的任意一种实现方式的方法。In an eighth aspect, the present application provides a computer-readable storage medium, comprising computer instructions, which, when the computer instructions are executed by a processor, cause the software upgrade apparatus to execute the first aspect or any one of the above first aspects method of implementation.
第九方面,本申请提供一种电子设备,该电子设备中包括处理器,处理器被配置为支持该电子设备执行第一方面提供的方法中相应的功能。该电子设备还可以包括存储器,存储器用于与处理器耦合,其保存该电子设备必要的程序指令和数据。该电子设备还可以包括通信接口,用于该电子设备与其他设备或通信网络通信。In a ninth aspect, the present application provides an electronic device, the electronic device includes a processor, and the processor is configured to support the electronic device to perform corresponding functions in the method provided in the first aspect. The electronic device may also include a memory for coupling with the processor that holds program instructions and data necessary for the electronic device. The electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
第十方面,本申请提供了一种芯片系统,该芯片系统包括处理器,用于电子设备或服务器实现上述第一方面中所涉及的功能,例如,例如接收或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存电子设备或服务器必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a tenth aspect, the present application provides a chip system, the chip system includes a processor for an electronic device or server to implement the functions involved in the first aspect above, for example, for example, receiving or processing data involved in the above method and/or information. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the electronic device or server. The chip system may be composed of chips, or may include chips and other discrete devices.
本申请的这些和其他方面在以下(多个)实施例的描述中会更加简明易懂。These and other aspects of the present application will be more clearly understood in the following description of the embodiment(s).
附图说明Description of drawings
图1示出本申请实施例提供的一种网络架构的示意图;FIG. 1 shows a schematic diagram of a network architecture provided by an embodiment of the present application;
图2示出本申请实施例提供的一种网络架构的示意图;FIG. 2 shows a schematic diagram of a network architecture provided by an embodiment of the present application;
图3示出用于部署OTA服务器的电子设备的结构示意图;3 shows a schematic structural diagram of an electronic device for deploying an OTA server;
图4示出Tbox的结构示意图;Fig. 4 shows the structural schematic diagram of Tbox;
图5a提供一种软件升级的流程示意图;Fig. 5a provides a kind of schematic flow chart of software upgrade;
图5b示出根据本申请实施例的基于OTA的升级方法的流程图;Figure 5b shows a flowchart of an OTA-based upgrade method according to an embodiment of the present application;
图6示出根据本申请实施例的基于OTA的升级方法的交互流程图;FIG. 6 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application;
图7示出根据本申请实施例的基于OTA的升级方法的交互流程图;FIG. 7 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application;
图8示出根据本申请实施例的基于OTA的升级方法的交互流程图;FIG. 8 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application;
图9示出根据本申请实施例的基于OTA的升级装置的结构示意图。FIG. 9 shows a schematic structural diagram of an OTA-based upgrade apparatus according to an embodiment of the present application.
具体实施方式Detailed ways
以下将参考附图详细说明本申请的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。Various exemplary embodiments, features and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numbers in the figures denote elements that have the same or similar functions. While various aspects of the embodiments are shown in the drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。以下,术语“第一”、“第二”仅用于描述目的,而不能理解为暗示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。The word "exemplary" is used exclusively herein to mean "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. Hereinafter, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as implying or implying relative importance or implying the number of indicated technical features. Thus, a feature defined as "first" or "second" may expressly or implicitly include one or more of that feature. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.
另外,为了更好的说明本申请,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本申请同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本申请的主旨。In addition, in order to better illustrate the present application, numerous specific details are given in the following detailed description. It should be understood by those skilled in the art that the present application may be practiced without certain specific details. In some instances, methods, means, components and circuits well known to those skilled in the art have not been described in detail so as not to obscure the subject matter of the present application.
图1示出本申请实施例提供的一种网络架构的示意图。如图1所示,该网络架构可以包括空中下载技术(Over the Air technology,OTA)服务器、无线通信链路和车辆。在一个示例中,车辆可以通过移动通信网络(例如2G/3G/4G/5G网络)与OTA服务器进行通信,也可以通过无线局域网络(Wireless local area networks,WLAN)与OTA服务器进行通信。本申请实施例对无线通信链路不做限制。FIG. 1 shows a schematic diagram of a network architecture provided by an embodiment of the present application. As shown in Figure 1, the network architecture may include an Over the Air technology (OTA) server, a wireless communication link, and a vehicle. In one example, the vehicle can communicate with the OTA server through a mobile communication network (eg, 2G/3G/4G/5G network), and can also communicate with the OTA server through a wireless local area network (WLAN). This embodiment of the present application does not limit the wireless communication link.
如图1所示,车辆中至少包括网关(GateWay,GW)、移动数据中心(Mobile Data Center,MDC)、人机交互系统(Human-Machine Interaction,HMI)、远程信息控制单元(Telematics Control Unit,TCU)、汽车盒子(Telematics box,Tbox)、电子控制单元(Electronic Control Unit,ECU)等部件。As shown in Figure 1, the vehicle at least includes a gateway (GateWay, GW), a mobile data center (Mobile Data Center, MDC), a human-machine interaction system (Human-Machine Interaction, HMI), a telematics control unit (Telematics Control Unit, TCU), automotive box (Telematics box, Tbox), electronic control unit (Electronic Control Unit, ECU) and other components.
其中,GW是整车电子电气架构中的核心部件,其作为整车网络的数据交互枢纽,可将控制区域网络(Controller Area Network,CAN)、局域互联网络(Local Interconnect Network,LIN)、多媒体软件升级(Media Oriented System Transport,MOST)网络等网络数据在不同网络中进行路由。MDC是车辆的智能车载计算平台,MDC可以用于实现车辆的自动驾驶功能。HMI是车辆的信息娱乐系统。TCU和Tbox主要用于和车辆外部设备(例如手机、后台系统等)进行通信。ECU是车辆专用微机控制器。ECU包括但不限于整车集成单元(Vehicle Integrated/Intergration Unit,VIU)、座舱域控制器(Cockpit Domain Controller,CDC)和整车域控制器(Vehicle Domain Controller,VDC)等。在本申请实施例中,待升级的第一部件包括但不限于上述GW、MDC、HMI、TCU、Tbox和ECU,待升级的第一部件可以包括上述GW、MDC、HMI、TCU、Tbox和ECU中的一者或多者。Among them, the GW is the core component in the electronic and electrical architecture of the vehicle. As the data interaction hub of the vehicle network, GW can integrate the Controller Area Network (CAN), Local Interconnect Network (LIN), multimedia Network data such as software upgrade (Media Oriented System Transport, MOST) networks are routed in different networks. MDC is an intelligent in-vehicle computing platform for vehicles, and MDC can be used to realize automatic driving functions of vehicles. HMI is the infotainment system of the vehicle. TCU and Tbox are mainly used to communicate with external devices of the vehicle (such as mobile phones, background systems, etc.). ECU is a vehicle-specific microcomputer controller. ECUs include but are not limited to Vehicle Integrated/Intergration Unit (VIU), Cockpit Domain Controller (CDC), Vehicle Domain Controller (VDC), etc. In this embodiment of the present application, the first component to be upgraded includes but is not limited to the aforementioned GW, MDC, HMI, TCU, Tbox, and ECU, and the first component to be upgraded may include the aforementioned GW, MDC, HMI, TCU, Tbox, and ECU one or more of the.
在整车OTA升级中通常涉及车辆中多个部件的升级,因此需要一个OTA管理模块(可以称为OTA Master模块)来协调这多个部件的升级。OTA管理模块可以运行在车辆的GW、Tbox等部件上,协调其他部件的OTA升级模块(可以称为OTA Slave 模块),共同完成整车升级。Vehicle OTA upgrade usually involves the upgrade of multiple components in the vehicle, so an OTA management module (which can be called an OTA Master module) is required to coordinate the upgrade of these multiple components. The OTA management module can run on the GW, Tbox and other components of the vehicle, and coordinate the OTA upgrade modules (which can be called OTA Slave modules) of other components to complete the vehicle upgrade together.
图2示出本申请实施例提供的一种网络架构的示意图。如图2所示,车辆的GW中部署了OTA管理模块,车辆的其他部件中部署了OTA升级模块。其中,OTA管理模块可以协调各部件部署的OTA升级模块,共同完成整车OTA升级。在OTA服务器和OTA管理模块之间发送消息之前,OTA管理模块和OTA升级模块需要进行一些配置,比如配置证书、私钥等。基于配置的信息,OTA服务器和OTA管理模块之间可以建立安全通道,例如超文本传输安全协议(Hyper Text Transfer Protocol over SecureSocket layer,HTTPS)、传输层安全协议(Transport Layer Security,TLS)或者数据包传输层安全性协议(Datagram Transport Layer Security,DTLS)等安全通道,以便在OTA服务器与OTA管理模块之间安全的传输信息,例如,安全的传输本申请实施例中涉及的策略包、升级包、第二部件的信息以及第一条件等。FIG. 2 shows a schematic diagram of a network architecture provided by an embodiment of the present application. As shown in Figure 2, the OTA management module is deployed in the GW of the vehicle, and the OTA upgrade module is deployed in other parts of the vehicle. Among them, the OTA management module can coordinate the OTA upgrade modules deployed by each component to jointly complete the OTA upgrade of the entire vehicle. Before sending messages between the OTA server and the OTA management module, the OTA management module and the OTA upgrade module need to perform some configurations, such as configuring certificates, private keys, and so on. Based on the configuration information, a secure channel can be established between the OTA server and the OTA management module, such as Hyper Text Transfer Protocol over SecureSocket layer (HTTPS), Transport Layer Security (TLS) or data packets Transport layer security protocol (Datagram Transport Layer Security, DTLS) and other security channels, so as to securely transmit information between the OTA server and the OTA management module, for example, securely transmit the policy packages, upgrade packages, The information of the second component and the first condition, etc.
在本申请实施例中,OTA服务器可以部署在具有无线通信功能和存储功能的电子设备上,还可以部署在云上的虚拟机(Virtual Machine,VM)或者容器上,其中云可以是多个电子设备组成的集群。图3示出用于部署OTA服务器的电子设备的结构示意图。In this embodiment of the present application, the OTA server may be deployed on an electronic device with a wireless communication function and a storage function, or may be deployed on a virtual machine (Virtual Machine, VM) or a container on the cloud, where the cloud may be multiple electronic devices A cluster of devices. FIG. 3 shows a schematic structural diagram of an electronic device for deploying an OTA server.
如图3所示,电子设备可以包括至少一个处理器301,存储器302、输入输出设备303以及总线304。下面结合图3对电子设备的各个构成部件进行具体的介绍:As shown in FIG. 3 , the electronic device may include at least one processor 301 , a memory 302 , an input and output device 303 and a bus 304 . Below in conjunction with Fig. 3, each constituent part of the electronic device is introduced in detail:
处理器301是电子设备的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器301是一个CPU,也可以是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路,例如:一个或多个微处理器(Digital Signal Processor,DSP),或,一个或者多个现场可编程门阵列(Field Programmable Gate Array,FPGA)。The processor 301 is the control center of the electronic device, and may be a processor or a general term for multiple processing elements. For example, the processor 301 is a CPU, and may also be a specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more microprocessors A digital signal processor (DSP), or one or more field programmable gate arrays (Field Programmable Gate Array, FPGA).
其中,处理器301可以通过运行或执行存储在存储器302内的软件程序,以及调用存储在存储器302内的数据,执行电子设备的各种功能。The processor 301 can execute various functions of the electronic device by running or executing software programs stored in the memory 302 and calling data stored in the memory 302 .
在具体的实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图中所示的CPU 0和CPU 1。In a specific implementation, as an embodiment, the processor 301 may include one or more CPUs, such as CPU 0 and CPU 1 shown in the figure.
在具体实现中,作为一种实施例,电子设备可以包括多个处理器,例如图3中所示的处理器301和处理器305。这些处理器中的每一个可以是一个单核处理器(single-CPU),也可以是一个多核处理器(multi-CPU)。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the electronic device may include multiple processors, such as the processor 301 and the processor 305 shown in FIG. 3 . Each of these processors can be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
存储器302可以是只读存储器(Read-Only Memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(Random Access Memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器302可以是独立存在,通过总线304与处理器301相连接。存储器302也可以和处理器301集成在一起。在本申请实 施例中,存储器可以用于策略包和升级包等。 Memory 302 may be Read-Only Memory (ROM) or other types of static storage devices that can store static information and instructions, Random Access Memory (RAM), or other types of information and instructions that can be stored It can also be an electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being executed by a computer Access any other medium without limitation. The memory 302 can exist independently and is connected to the processor 301 through the bus 304 . The memory 302 may also be integrated with the processor 301 . In this embodiment of the present application, the memory may be used for a policy package, an upgrade package, and the like.
输入输出设备303,用于与其他设备或通信网络通信。如用于与以太网,无线接入网(Radio access network,RAN),无线局域网(Wireless Local Area Networks,WLAN)等通信网络通信。输入输出设备303可以包括基带处理器的全部或部分,以及还可选择性地包括无线射频(Radio Frequency,RF)处理器。RF处理器用于收发RF信号,基带处理器则用于实现由RF信号转换的基带信号或即将转换为RF信号的基带信号的处理。Input and output devices 303 for communicating with other devices or communication networks. For example, it is used to communicate with communication networks such as Ethernet, Radio access network (RAN), Wireless Local Area Networks (WLAN). The input-output device 303 may include all or part of a baseband processor, and may optionally include a radio frequency (Radio Frequency, RF) processor. The RF processor is used for transmitting and receiving RF signals, and the baseband processor is used for processing the baseband signal converted by the RF signal or the baseband signal to be converted into the RF signal.
在具体实现中,作为一种实施例,输入输出设备303可以包括发射器和接收器。其中,发射器用于向其他设备或通信网络发送信号,接收器用于接收其他设备或通信网络发送的信号。发射器和接收器可以独立存在,也可以集成在一起。在本申请实施例中,输入输出设备可以用于收发:策略包、升级包、第二部件的信息以及第一条件等。In a specific implementation, as an embodiment, the input-output device 303 may include a transmitter and a receiver. The transmitter is used to send signals to other devices or communication networks, and the receivers are used to receive signals sent by other devices or communication networks. The transmitter and receiver can exist independently or can be integrated. In this embodiment of the present application, the input and output device may be used to send and receive: a policy package, an upgrade package, the information of the second component, the first condition, and the like.
总线304,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 304 can be an industry standard architecture (Industry Standard Architecture, ISA) bus, a peripheral device interconnect (Peripheral Component Interconnect, PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus and the like. The bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 3, but it does not mean that there is only one bus or one type of bus.
图3中示出的设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。The device structure shown in FIG. 3 does not constitute a limitation to the electronic device, and may include more or less components than shown, or combine some components, or arrange different components.
在本申请实施例中,Tbox部件既可用于部署OTA管理模块,也可以部署OTA升级模块。下面以Tbox为例,对车载部件的结构进行示例性说明。图4示出Tbox的结构示意图。In this embodiment of the present application, the Tbox component can be used to deploy both the OTA management module and the OTA upgrade module. The following takes Tbox as an example to illustrate the structure of the vehicle components. FIG. 4 shows a schematic diagram of the structure of the Tbox.
如图4所示,Tbox 40包括应用层微处理器单元(MicroProcessor Unit,MPU)41和微控制器单元(MicroController Unit,MCU)42。其中,MPU 41主要用来实现应用程序功能,MCU 42主要用来控制电源管理以及接入车辆CAN总线。MPU 41与MCU 42之间通过通用型输入输出(General Purpose Input Output,GPIO)接口以及串行外设接口(Serial Peripheral Interface,SPI)进行通信。As shown in FIG. 4 , the Tbox 40 includes an application layer microprocessor unit (MicroProcessor Unit, MPU) 41 and a microcontroller unit (MicroController Unit, MCU) 42 . Among them, the MPU 41 is mainly used to implement application program functions, and the MCU 42 is mainly used to control power management and access the vehicle CAN bus. Communication between the MPU 41 and the MCU 42 is performed through a General Purpose Input Output (GPIO) interface and a Serial Peripheral Interface (SPI).
其中,MPU 41包括上位机411和无线通信模块412。其中,上位机411对应芯片功能层,无线通信模块412对应芯片无线通信层。The MPU 41 includes a host computer 411 and a wireless communication module 412. The host computer 411 corresponds to the chip function layer, and the wireless communication module 412 corresponds to the chip wireless communication layer.
MPU 41还可以包括微处理器(未示出),该微处理器可以包括一个或多个处理单元,例如:该微处理器包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(Neural-network Processing Unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。其中,控制器可以是MPU 41的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The MPU 41 may also include a microprocessor (not shown), which may include one or more processing units, for example: the microprocessor includes an application processor (application processor, AP), a modem processor, Graphics processing unit (GPU), image signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and / or Neural-network Processing Unit (NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors. Among them, the controller can be the nerve center and command center of the MPU 41 . The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
微处理器中还可以设置存储器,用于存储指令和数据。在一些实施例中,微处理器中的存储器为高速缓冲存储器。该存储器可以保存微处理器刚用过或循环使用的指 令或数据。如果微处理器需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了微处理器的等待时间,因而提高了系统的效率。Memory may also be provided in the microprocessor for storing instructions and data. In some embodiments, the memory in the microprocessor is a cache memory. This memory can hold instructions or data that have just been used or cycled by the microprocessor. If the microprocessor needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the microprocessor is reduced, thereby improving the efficiency of the system.
微处理器可以运行本申请实施例提供的基于OTA的升级方法,以便于降低升级出错率,提高用户体验。微处理器可以包括不同的器件,比如集成CPU和GPU时,CPU和GPU可以配合执行本申请实施例提供的基于OTA的升级方法,比如基于OTA的升级方法中部分算法由CPU执行,另一部分算法由GPU执行,以得到较快的处理效率。The microprocessor may run the OTA-based upgrade method provided by the embodiment of the present application, so as to reduce the upgrade error rate and improve the user experience. The microprocessor may include different devices. For example, when the CPU and the GPU are integrated, the CPU and the GPU may cooperate to execute the OTA-based upgrade method provided by the embodiments of the present application. For example, in the OTA-based upgrade method, some algorithms are executed by the CPU, and another part of the algorithms Executed by GPU for faster processing efficiency.
当微处理器运行本申请实施例提供的基于OTA的升级方法后,无线通信模块412可以通过天线与OTA服务器建立连接,并根据本申请实施例提供的基于OTA的升级方法传输升级包和策略包等。After the microprocessor runs the OTA-based upgrade method provided by the embodiment of the present application, the wireless communication module 412 can establish a connection with the OTA server through the antenna, and transmit the upgrade package and the policy package according to the OTA-based upgrade method provided by the embodiment of the present application Wait.
MPU 41还可以包括内部存储器(未示出)。内部存储器可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。微处理器通过运行存储在内部存储器的指令,从而执行MPU 41的各种功能应用以及数据处理。内部存储器可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,应用程序的代码等。 MPU 41 may also include internal memory (not shown). Internal memory may be used to store computer executable program code, which includes instructions. The microprocessor executes various functional applications and data processing of the MPU 41 by executing the instructions stored in the internal memory. The internal memory may include a stored program area and a stored data area. Among them, the stored program area can store the operating system, the code of the application program, and the like.
内部存储器还可以存储本申请实施例提供的基于OTA的升级方法对应的一个或多个计算机程序。该一个或多个计算机程序被存储在上述存储器中并被配置为被上述一个或多个微处理器执行,该一个或多个计算机程序包括指令,上述指令可以用于执行根据本申请实施例的基于OTA的升级方法的各个步骤。The internal memory may also store one or more computer programs corresponding to the OTA-based upgrade method provided by the embodiments of the present application. The one or more computer programs are stored in the above-mentioned memory and configured to be executed by the above-mentioned one or more microprocessors, and the one or more computer programs include instructions that can be used to execute the program according to the embodiments of the present application. The individual steps of the OTA-based upgrade method.
无线通信模块412可以提供应用在Tbox 40的包括长期演进(Long Term Evolution,LTE)、网络协议多媒体子系统(IP Multimedia Subsystem,IMS)、新无线(New Radio,NR)通信技术,或者第五代通信技术(the 5 Generation Mobile Communication Technology,5G)等无线通信的解决方案。无线通信模块412可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。无线通信模块412可以由天线(未示出)接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。无线通信模块412还可以对经调制解调处理器调制后的信号放大,经天线转为电磁波辐射出去。在一些实施例中,无线通信模块412的至少部分功能模块可以被设置于微处理器中。在一些实施例中,无线通信模块412的至少部分功能模块可以与微处理器的至少部分模块被设置在同一个器件中。在本申请实施例中,无线通信模块412可以用于与OTA服务器以及其它电子设备(例如手机、平板、个人计算等)进行信息交互。例如,无线通信模块412可以用于与OTA服务器之间进行软件信息、固件信息、硬件信息、升级包以及策略包的传输。无线通信模块412还可以用于与其他电子设备之间进行硬件信息不符合对应的硬件需求的通知的传输。The wireless communication module 412 can provide applications in the Tbox 40 including Long Term Evolution (LTE), IP Multimedia Subsystem (IMS), New Radio (NR) communication technology, or the fifth generation Communication technology (the 5 Generation Mobile Communication Technology, 5G) and other wireless communication solutions. The wireless communication module 412 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and the like. The wireless communication module 412 can receive electromagnetic waves by an antenna (not shown), filter, amplify, etc. the received electromagnetic waves, and transmit them to a modulation and demodulation processor for demodulation. The wireless communication module 412 can also amplify the signal modulated by the modulation and demodulation processor, and then convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least a portion of the functional modules of the wireless communication module 412 may be provided in a microprocessor. In some embodiments, at least some of the functional modules of the wireless communication module 412 may be provided in the same device as at least some of the modules of the microprocessor. In this embodiment of the present application, the wireless communication module 412 may be used for information interaction with the OTA server and other electronic devices (eg, mobile phones, tablets, personal computing, etc.). For example, the wireless communication module 412 may be used to transmit software information, firmware information, hardware information, upgrade packages and policy packages with the OTA server. The wireless communication module 412 may also be used to transmit a notification with other electronic devices that the hardware information does not meet the corresponding hardware requirements.
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器、麦克风等)输出声音信号,或通过显示屏显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于微处理器,与无线通信模块412或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to speakers, microphones, etc.), or displays images or videos through a display screen. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the microprocessor, and be provided in the same device as the wireless communication module 412 or other functional modules.
MCU 42可以通过以太网连接车机,还可以通过CAN网络连接车身中的其他部件,例如设置在车身上的传感器。The MCU 42 can be connected to the vehicle through the Ethernet, and can also be connected to other components in the vehicle body through the CAN network, such as sensors arranged on the vehicle body.
可以理解的是,本申请实施例示意的结构并不构成对Tbox的具体限定。在本申请另一些实施例中,Tbox可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the Tbox. In other embodiments of the present application, the Tbox may include more or less components than shown, or some components are combined, or some components are split, or different components are arranged. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
图5a提供一种软件升级的流程示意图。该流程可以应用于图2所示的架构。如图5a所示,软件升级流程包括:1、OTA服务器对升级包进行签名;2、OTA服务器通过安全通道下发签名的升级包;3、OTA管理模块通过安全通道下载签名的升级包;4、OTA管理模块验证升级包的签名;5、签名验证通过后,OTA管理模块将升级包拆解并分发至对应部件的OTA升级模块;6、OTA升级模块接收OTA管理模块分发的升级包;7、OTA升级模块按照OTA管理模块的指示安装和激活升级包。Figure 5a provides a schematic flowchart of a software upgrade. This flow can be applied to the architecture shown in Figure 2. As shown in Figure 5a, the software upgrade process includes: 1. The OTA server signs the upgrade package; 2. The OTA server issues the signed upgrade package through the secure channel; 3. The OTA management module downloads the signed upgrade package through the secure channel; 4. . The OTA management module verifies the signature of the upgrade package; 5. After the signature verification is passed, the OTA management module disassembles and distributes the upgrade package to the OTA upgrade module of the corresponding component; 6. The OTA upgrade module receives the upgrade package distributed by the OTA management module; 7. , The OTA upgrade module installs and activates the upgrade package according to the instructions of the OTA management module.
在实施中,在OTA服务器向OTA管理模块下发签名的升级包时,还会向OTA管理模块下发策略包,该策略包中指示了车辆中各部件的软件升级顺序。在根据策略包确定执行某个部件的升级操作时,例如确定执行第一部件的升级操作时,OTA管理模块可以向第一部件上部署的OTA升级模块发送软件升级指示。第一部件的OTA升级模块接收到软件升级指示后,执行升级包的安装和激活操作,从而实现第一部件的升级。在升级完成之后,OTA升级模块可以向OTA管理模块发送升级完成的消息,以便于OTA管理模块可以确定升级进度,在一个示例中,OTA升级模块接收到第一部件升级完成的消息后,可以确定执行另一部件的软件升级操作,在又一示例中,OTA接收到第一部件升级完成的消息后,可以确定全部升级完成。In implementation, when the OTA server issues a signed upgrade package to the OTA management module, it also issues a policy package to the OTA management module, where the policy package indicates the software upgrade sequence of each component in the vehicle. When it is determined to perform an upgrade operation of a certain component according to the policy package, for example, when it is determined to perform an upgrade operation of the first component, the OTA management module may send a software upgrade instruction to the OTA upgrade module deployed on the first component. After receiving the software upgrade instruction, the OTA upgrade module of the first component performs the installation and activation operations of the upgrade package, thereby realizing the upgrade of the first component. After the upgrade is completed, the OTA upgrade module may send an upgrade completion message to the OTA management module, so that the OTA management module can determine the upgrade progress. In an example, after the OTA upgrade module receives the message that the first component is upgraded, it can determine A software upgrade operation of another component is performed. In yet another example, after the OTA receives a message that the upgrade of the first component is completed, it may determine that all the upgrades are completed.
然而,第一部件升级时,并未考虑其升级对相关部件的需求。在实际中,某些部件的升级包的使用需要其他部件的软硬件或者固件满足一定的条件,比如,新的自动驾驶功能可能需要相关传感器在特定的软件版本和硬件版本才能使用。在相关传感器未在特定的软件版本和/或硬件版本的情况下,即使升级了新的自动驾驶功能,该功能也可能无法使用,例如可能会提示未检测到传感器,或者因未收到传感器的检测数据而报错等。However, when the first part is upgraded, it does not consider the need for the related parts to be upgraded. In practice, the use of upgrade packages for some components requires the software, hardware or firmware of other components to meet certain conditions. For example, new automatic driving functions may require related sensors to be used in specific software and hardware versions. If the relevant sensor is not in a specific software version and/or hardware version, even if the new automatic driving function is upgraded, the function may not be available, for example, it may prompt that the sensor is not detected, or because the sensor has not been received. Detecting data and reporting errors, etc.
因此,本申请实施例提供一种基于OTA的升级方法,能够为部件升级提供保障,提高部件升级成功的概率,从而提升用户体验。Therefore, the embodiments of the present application provide an OTA-based upgrade method, which can provide guarantee for component upgrade, improve the probability of successful component upgrade, and thus improve user experience.
本申请实施例提供的基于OTA的升级方法既可以实现针对整车的升级(即基于OTA对车辆中多个部件进行升级),也可以实现针对车辆中单个部件的软件升级(即基于OTA对车辆中的任意一个部件进行升级)。在针对整车进行升级时,可以按照一定的升级顺序,对每个待升级的部件分别进行升级。The OTA-based upgrade method provided in the embodiment of the present application can realize both the upgrade of the entire vehicle (that is, the upgrade of multiple components in the vehicle based on OTA), and the software upgrade of a single component in the vehicle (that is, the upgrade of the vehicle based on OTA). to upgrade any of the components). When upgrading the entire vehicle, each component to be upgraded can be upgraded separately according to a certain upgrade sequence.
下面以第一部件为待升级的部件举例,对本申请实施例提供的基于OTA的升级方法进行说明。其中,第一部件可以为任意一个部件。第一部件可以为整车升级中需要升级的多个部件中的任意一个部件,也可以为单个被升级的部件。对于整车升级而言,其他需要升级的部件的升级方式与第一部件的升级方式相同,本申请实施例中不再赘述。The OTA-based upgrade method provided by the embodiment of the present application is described below by taking the first component as the component to be upgraded as an example. Wherein, the first component may be any component. The first component may be any one of multiple components that need to be upgraded in the whole vehicle upgrade, or may be a single upgraded component. For the whole vehicle upgrade, the upgrade method of other components that need to be upgraded is the same as the upgrade method of the first component, which is not repeated in the embodiment of the present application.
本申请实施例提供的基于OTA的升级方法可以应用于图2所示的架构中。该方法 可以由OTA服务器、OTA管理模块和OTA升级模块中的任意一者执行。The OTA-based upgrade method provided in this embodiment of the present application may be applied to the architecture shown in FIG. 2 . The method may be performed by any one of the OTA server, the OTA management module, and the OTA upgrade module.
图5b示出根据本申请实施例的基于OTA的升级方法的流程图。如图5b所示,该方法可以包括:FIG. 5b shows a flowchart of an OTA-based upgrade method according to an embodiment of the present application. As shown in Figure 5b, the method may include:
步骤S501,获取与第一部件关联的第二部件的信息。Step S501, acquiring information of a second component associated with the first component.
在本申请实施例中,第一部件可以表示任意一个待升级的部件。第一部件关联的第二部件可以表示升级第一部件时需要满足一定条件的部件。In this embodiment of the present application, the first component may represent any component to be upgraded. The second component associated with the first component may represent a component that needs to meet certain conditions when upgrading the first component.
第一部件关联的第二部件可以有一个或多个。第一部件关联的第二部件中可以包括第一部件,也就是说,第一部件的升级可能需要第一部件自身满足一定的条件。第一部件关联的第二部件可以包括除第一部件以外的其他部件,也就是说,第一部件的软件升级可能需要除第一部件以外的其他部件满足一定的条件。There may be one or more second components associated with the first component. The second component associated with the first component may include the first component, that is, the upgrade of the first component may require the first component itself to satisfy certain conditions. The second component associated with the first component may include other components other than the first component, that is, the software upgrade of the first component may require the other components other than the first component to satisfy certain conditions.
步骤S502,根据第二部件的信息确定第二部件是否满足第一条件。Step S502: Determine whether the second component satisfies the first condition according to the information of the second component.
在本申请实施例中,升级第一部件时第二部件需要满足的条件可以称为第一条件。也就是说,在第二部件满足第一条件时,可以实现对第一部件的升级,在第二部件不满足第一条件时,无法实现对第一部件的升级。In this embodiment of the present application, the condition that the second component needs to meet when the first component is upgraded may be referred to as the first condition. That is, when the second component satisfies the first condition, the first component can be upgraded, and when the second component does not satisfy the first condition, the first component cannot be upgraded.
在实施中,可以根据第二部件的信息确定第二部件是否满足第一条件。其中,第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。其中,硬件信息可以包括硬件版本号和/或硬件型号;软件信息可以包括软件版本号;固件信息可以包括固件版本号。相应的,第一条件可以为在升级第一部件时,第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。也就是说,在升级第一部件时,若第二部件的信息满足于第一部件升级时所需的第二部件的信息的匹配范围,表明第二部件满足第一条件,此时可以实现对第一部件的升级;若第二部件的信息不满足于第一部件升级时所需的第二部件的信息的匹配范围,表明第二部件不满足第一条件,此时无法实现对第一部件的升级。In an implementation, it may be determined whether the second component satisfies the first condition according to the information of the second component. Wherein, the information of the second component is at least one item of hardware information, software information and firmware information. The hardware information may include a hardware version number and/or a hardware model; the software information may include a software version number; and the firmware information may include a firmware version number. Correspondingly, the first condition may be that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded. That is to say, when the first part is upgraded, if the information of the second part satisfies the matching range of the information of the second part required for the upgrade of the first part, it indicates that the second part satisfies the first condition, and the matching The upgrade of the first component; if the information of the second component does not meet the matching range of the information of the second component required for the upgrade of the first component, it indicates that the second component does not meet the first condition, and the first component cannot be upgraded at this time. upgrade.
在本申请实施例中,第一部件升级时所需的第二部件的信息的匹配范围可以由OTA服务器或者内容分发网络(Content Delivery Network,CDN)生成。在一种可能的实现方式中,OTA服务器可以根据升级前第一部件的软件版本信息,确定升级后第一部件的软件版本信息;并根据升级后第一部件的软件版本信息生成第一部件升级时所需的第二部件的信息的匹配范围。或者,OTA服务器可以根据升级后第一部件的软件版本信息从CDN中获取第一部件升级时所需的第二部件的信息的匹配范围。在实施中,第一部件升级时所需的第二部件的信息的匹配范围可以包含在用于指示第一部件升级的第一策略包中。In this embodiment of the present application, the matching range of the information of the second component required when the first component is upgraded may be generated by an OTA server or a content delivery network (Content Delivery Network, CDN). In a possible implementation manner, the OTA server may determine the software version information of the first component after the upgrade according to the software version information of the first component before the upgrade; and generate the first component upgrade according to the software version information of the first component after the upgrade When the matching range of the information of the second part is required. Alternatively, the OTA server may obtain, from the CDN, the matching range of the information of the second component required for the upgrade of the first component according to the software version information of the first component after the upgrade. In implementation, the matching range of the information of the second component required when the first component is upgraded may be included in the first policy package for instructing the first component to be upgraded.
第一部件升级时所需的第二部件的信息的匹配范围可以涉及一个或多个第二部件。针对涉及的一个或多个第二部件中的任意一个第二部件,第一部件升级时所需的第二部件的信息的匹配范围可以涉及该第二部件的硬件信息、软件信息和固件信息中的一者或多者。The matching range of the information of the second component required when the first component is upgraded may involve one or more second components. For any one of the one or more second components involved, the matching range of the information of the second component required when the first component is upgraded may involve the hardware information, software information and firmware information of the second component one or more of.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的硬件信息。也就是说,升级第一部件时,第二部件A的硬件信息需要满足第一部件升级时所需的第二部件A的硬件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the hardware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to satisfy the hardware information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
举例来说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信 息的匹配范围可以为:第二部件A的硬件版本为3.0或者3.0以上。若升级第一部件时,第二部件A的硬件版本为2.0,则表明第二部件A不满足第一条件,无法实现第一部件的升级。若升级第一部件时,第二部件的硬件版本为3.0或者4.0,则表明第二部件A满足第一条件,可以实现第一部件的升级。假设第一部件从软件版本1.0升级到软件版本2.0,需要第二部件A的硬件版为3.0、硬件型号为1234或者1235。若升级第一部件时,第二部件A的硬件版本是3.0,且硬件型号为1234和1235中的一者的情况下,才能实现第一部件的升级。For example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0 or above. If the hardware version of the second component A is 2.0 when the first component is upgraded, it indicates that the second component A does not meet the first condition, and the upgrade of the first component cannot be implemented. If the hardware version of the second component is 3.0 or 4.0 when the first component is upgraded, it indicates that the second component A satisfies the first condition, and the first component can be upgraded. Assuming that the first component is upgraded from software version 1.0 to software version 2.0, the hardware version of the second component A is 3.0 and the hardware model is 1234 or 1235. When upgrading the first component, the first component can be upgraded only when the hardware version of the second component A is 3.0 and the hardware model is one of 1234 and 1235.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的软件信息。也就是说,升级第一部件时,第二部件A的软件信息需要满足第一部件升级时所需的第二部件A的软件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the software information of the second component A. That is to say, when the first component is upgraded, the software information of the second component A needs to satisfy the software information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
举例来说,假设第二部件A的软件版本在4.0以下时,无法支持第一部件从软件版本1.0升级到软件版本2.0,而第二部件A的版本在6.0以上时,表明第一部件的软件版本已经升级到了2.0或者2.0以上的版本,第一部件的软件版本无需升级,也就是说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的软件版本为4.0至6.0之间。若升级第一部件时,第二部件A的软件版本为4.0、5.0或者6.0,表明第二部件A满足第一条件,可以实现第一部件的升级。若升级第一部件时,第二部件A的软件版本为4.0以下(例如2.0、3.0、3.1或者3.22等)或者6.0以上(例如6.11、7.0、或者8.0等),无法实现第一部件的升级。For example, assuming that the software version of the second component A is below 4.0, it cannot support the upgrade of the first component from software version 1.0 to software version 2.0, while the version of the second component A is above 6.0, indicating that the software of the first component The version has been upgraded to 2.0 or above, and the software version of the first component does not need to be upgraded. That is to say, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component can be : The software version of the second part A is between 4.0 and 6.0. If the software version of the second component A is 4.0, 5.0 or 6.0 when the first component is upgraded, it indicates that the second component A satisfies the first condition and the first component can be upgraded. If the software version of the second component A is below 4.0 (such as 2.0, 3.0, 3.1 or 3.22, etc.) or above 6.0 (such as 6.11, 7.0, or 8.0, etc.) when upgrading the first component, the first component cannot be upgraded.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的固件信息。也就是说,升级第一部件时,第二部件A的硬件信息需要满足第一部件升级时所需的第二部件A的固件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the firmware information of the second component A. That is, when the first component is upgraded, the hardware information of the second component A needs to satisfy the firmware information of the second component A required for the first component to be upgraded, so that the first component can be upgraded.
举例来说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的固件版本为4.0、6.0或者8.0。若升级第一部件时,第二部件A的固件版本不是4.0、6.0和8.0中的一者,则无法实现第一部件的升级。又如,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的固件版本不为3.0。For example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the firmware version of the second component A is 4.0, 6.0 or 8.0. If the firmware version of the second component A is not one of 4.0, 6.0 and 8.0 when the first component is upgraded, the upgrade of the first component cannot be implemented. For another example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the firmware version of the second component A is not 3.0.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的硬件信息和软件信息。也就是说,升级第一部件时,第二部件A的硬件信息需要满足第一部件升级时所需的第二部件A的硬件信息,且第二部件A的软件信息需要满足第一部件升级时所需的第二部件A的软件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the hardware information and software information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the software information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. Only the software information of the second component A is required to realize the upgrade of the first component.
举例来说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的硬件版本为3.0或者5.0,硬件型号为1234,软件版本为2.0或者2.0以上。For example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0 or 5.0, the hardware model is 1234, and the software version is 2.0 or more.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的硬件信息和固件信息。也就是说,升级第一部件时,第二部件A的硬件信息需要满足第一部件升级时所需的第二部件A的硬件信息,且第二部件A的固件信息需要满足第一部件升级时所需的第二部件A的固件信息,才能实现第一部件的 升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the hardware information and firmware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the firmware information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. Only the firmware information of the second component A is required to realize the upgrade of the first component.
举例来说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的硬件型号为1234或者1235,固件版本为2.0。For example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the hardware model of the second component A is 1234 or 1235, and the firmware version is 2.0.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的软件信息和固件信息。也就是说,升级第一部件时,第二部件A的软件信息需要满足第一部件升级时所需的第二部件A的软件信息,且第二部件A的固件信息需要满足第一部件升级时所需的第二部件A的固件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the software information and firmware information of the second component A. That is to say, when the first component is upgraded, the software information of the second component A needs to meet the software information of the second component A required when the first component is upgraded, and the firmware information of the second component A needs to meet the software information of the second component A when the first component is upgraded. Only the firmware information of the second component A is required to realize the upgrade of the first component.
举例来说,第一部件从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的软件版本为4.0或者4.0以上,固件版本为2.0。For example, when the first component is upgraded from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the software version of the second component A is 4.0 or above, and the firmware version is 2.0.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的硬件信息、软件信息和固件信息。也就是说,升级第一部件时,第二部件A的硬件信息需要满足第一部件升级时所需的第二部件A的硬件信息,第二部件A的软件信息需要满足第一部件升级时所需的第二部件A的软件信息,且第二部件A的固件信息需要满足第一部件升级时所需的第二部件A的固件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the hardware information, software information and firmware information of the second component A. That is to say, when the first component is upgraded, the hardware information of the second component A needs to meet the hardware information of the second component A required when the first component is upgraded, and the software information of the second component A needs to meet the hardware information of the second component A when the first component is upgraded. The software information of the second component A is required, and the firmware information of the second component A needs to satisfy the firmware information of the second component A required when the first component is upgraded, so that the first component can be upgraded.
举例来说,第一从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的硬件版本为3.0,软件版本为4.0,固件版本为2.0。For example, when first upgrading from software version 1.0 to software version 2.0, the required matching range of the information of the second component may be: the hardware version of the second component A is 3.0, the software version is 4.0, and the firmware version is 2.0.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的软件信息和第二部件B的硬件信息。也就是说,升级第一部件时,第二部件A的软件信息需要满足第一部件升级时所需的第二部件A的软件信息,且第二部件B的硬件信息需要满足第一部件升级时所需的第二部件B的硬件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the software information of the second component A and the hardware information of the second component B. That is to say, when the first component is upgraded, the software information of the second component A needs to meet the software information of the second component A required for the upgrade of the first component, and the hardware information of the second component B needs to meet the requirements for the upgrade of the first component. Only the hardware information of the second component B is required to realize the upgrade of the first component.
举例来说,第一从软件版本1.0升级到软件版本2.0时,需要的第二部件的信息的匹配范围可以为:第二部件A的软件版本为2.0或者2.0以上,第二部件B的硬件版本为3.0或者3.0以上,第二部件B的硬件型号为除1234以外的任意型号。For example, when upgrading from software version 1.0 to software version 2.0 for the first time, the matching range of the information of the second component required may be: the software version of the second component A is 2.0 or above, and the hardware version of the second component B is is 3.0 or higher, and the hardware model of the second component B is any model except 1234.
在一种可能的实施方式中,第一部件升级时所需的第二部件的信息的匹配范围可以为第二部件A的固件信息和软件信息、第二部件B的硬件信息,以及第二部件C的软件信息、固件信息和硬件信息。也就是说,升级第一部件时,第二部件A的固件信息和软件信息需要分别满足第一部件升级时所需的第二部件A的固件信息和软件信息,第二部件B的硬件信息需要满足第一部件升级时所需的第二部件B的硬件信息,且第二部件C的软件信息需要满足第一部件升级时所需的第二部件C的软件信息、第二部件C的固件信息需要满足第一部件升级时所需的第二部件C的固件信息,以及第二部件C的硬件信息满足第一部件升级时所需的第二部件C的硬件信息,才能实现第一部件的升级。In a possible implementation manner, the matching range of the information of the second component required when the first component is upgraded may be the firmware information and software information of the second component A, the hardware information of the second component B, and the second component C's software information, firmware information and hardware information. That is to say, when the first component is upgraded, the firmware information and software information of the second component A need to satisfy the firmware information and software information of the second component A required by the upgrade of the first component, respectively, and the hardware information of the second component B needs to be Satisfy the hardware information of the second component B required when the first component is upgraded, and the software information of the second component C needs to meet the software information of the second component C and the firmware information of the second component C required when the first component is upgraded It is necessary to satisfy the firmware information of the second component C required when the first component is upgraded, and the hardware information of the second component C to meet the hardware information of the second component C required when the first component is upgraded, in order to realize the upgrade of the first component .
举例来说,假设第一部件为MDC,当为MDC升级自动驾驶功能时,需要MDC当前的软件版本为2.0,需要MDC中传感器1的软件版本为2.0,传感器2的硬件型号为XXXX。当MDC作为第一部件时,第一部件关联的第二部件包括MDC、传感器1和传感器2,第一部件升级时所需的第二部件的信息的匹配范围为:MDC的软件信 息、传感器1的软件信息,以及传感器2的硬件信息。在升级MDC时,MDC的软件信息满足于MDC的软件版本为2.0,传感器1的软件信息满足于传感器1的软件版本为2.0,且传感器2的硬件信息满足于传感器2的硬件型号为XXXX时,表明MDC关联的第二部件满足第一条件,可以实现对MDC的升级。For example, assuming that the first component is the MDC, when upgrading the automatic driving function for the MDC, the current software version of the MDC needs to be 2.0, the software version of the sensor 1 in the MDC needs to be 2.0, and the hardware model of the sensor 2 is XXXX. When the MDC is used as the first component, the second component associated with the first component includes the MDC, sensor 1 and sensor 2. The matching range of the information of the second component required when the first component is upgraded is: software information of the MDC, sensor 1 software information, and hardware information of sensor 2. When upgrading MDC, the software information of MDC satisfies that the software version of MDC is 2.0, the software information of sensor 1 satisfies that the software version of sensor 1 is 2.0, and the hardware information of sensor 2 satisfies that when the hardware model of sensor 2 is XXXX, It indicates that the second component associated with the MDC satisfies the first condition, and the MDC can be upgraded.
可以理解的,上述示例仅为举例,第一部件可以为车辆中任一部件,本申请实施例对此不作限定。It can be understood that the above examples are only examples, and the first component may be any component of the vehicle, which is not limited in this embodiment of the present application.
步骤S503,在第二部件满足第一条件的情况下,通过OTA升级第一部件。Step S503, when the second component satisfies the first condition, upgrade the first component through OTA.
可选地,在第二部件满足第一条件的情况下,可以通过OTA从OTA服务器或者CDN下载、安装并激活第一部件的升级包,从而对第一部件进行升级。Optionally, when the second component satisfies the first condition, an upgrade package of the first component may be downloaded, installed and activated from an OTA server or CDN through OTA, so as to upgrade the first component.
在本申请实施例中,通过在升级第一部件时,第一部件关联的第二部件的信息进行检查;在第二部件的信息满足第一部件升级时所需的第二部件的信息的匹配范围时,升级第一部件,从而降低了第一部件升级失败,以及进行第一部件升级后出现部分功能不可用、易出错等问题的可能,提高了OTA升级的可靠性,提升了用户体验。In this embodiment of the present application, when the first component is upgraded, the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded When the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
考虑到第二部件的信息可以为硬件信息、软件信息和固件信息中的至少一项。因此,第一部件升级时所需的第二部件的信息的匹配范围中可能涉及到硬件信息、软件信息和固件信息中的一者或多者。其中,软件信息和固件信息可以通过升级第二部件进行改变,硬件信息只能通过更换第二部件的硬件进行改变。It is considered that the information of the second component may be at least one of hardware information, software information and firmware information. Therefore, one or more of hardware information, software information and firmware information may be involved in the matching range of the information of the second component required when the first component is upgraded. The software information and firmware information can be changed by upgrading the second component, and the hardware information can only be changed by replacing the hardware of the second component.
在一种可能的实现方式中,在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,则可以通过升级第二部件的方式,以使第二部件满足第一条件。在满足第一条件之后,升级第一部件。In a possible implementation, if the software information and/or firmware information in the information of the second component does not meet the first condition, the second component may be upgraded so that the second component satisfies the first condition. a condition. After the first condition is met, the first component is upgraded.
第一条件中,第一部件升级时所需的第二部件的信息的匹配范围中可以包括软件信息和/或固件信息。在第二部件的软件信息和/或固件信息不满足上述第一条件的情况下,可以升级第二部件,以使升级后的第二部件的信息满足第一部件升级时所需的第二部件的信息的匹配范围,从而使升级后的第二部件满足第一条件。之后,就可以通过OTA升级第一部件。In the first condition, the matching range of the information of the second component required when the first component is upgraded may include software information and/or firmware information. In the case that the software information and/or firmware information of the second component does not meet the above-mentioned first condition, the second component may be upgraded, so that the upgraded information of the second component satisfies the second component required when the first component is upgraded The matching range of the information, so that the upgraded second component satisfies the first condition. After that, the first part can be upgraded via OTA.
这样,可以保证第一部件升级时,关联的第二部件满足第一条件,从而降低升级出错的可能性,提升用户体验。同时,通过在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,先升级第二部件,再升级第一部件,可以提升第一部件升级成功的概率,有利于第一部件的升级。In this way, it can be ensured that when the first component is upgraded, the associated second component satisfies the first condition, thereby reducing the possibility of upgrade errors and improving user experience. At the same time, when the software information and/or firmware information in the information of the second component does not meet the first condition, the second component is upgraded first, and then the first component is upgraded, so that the probability of successful upgrade of the first component can be improved. Conducive to the upgrade of the first part.
可以理解的是,在本申请实施例中,如果升级后的第二部件的信息仍然不能满足第一部件升级时所需的第二部件的信息的匹配范围,那么无法升级第一部件。在一次或多次升级第二部件后,第二部件仍无法满足第一条件的情况下,可以通知车端升级失败,以便于用户进行排查。It can be understood that, in this embodiment of the present application, if the information of the upgraded second component still cannot meet the matching range of the information of the second component required for upgrading the first component, the first component cannot be upgraded. After the second component is upgraded one or more times, if the second component still fails to meet the first condition, the vehicle end may be notified that the upgrade fails, so as to facilitate the user to conduct investigation.
在一种可能的实现方式中,在第二部件的信息中的硬件信息不满足第一条件的情况下,则通知车端升级失败。In a possible implementation manner, in the case that the hardware information in the information of the second component does not meet the first condition, the on-board upgrade failure is notified.
第一条件中,第一部件升级时所需的第二部件的信息的匹配范围中可以包括硬件信息。在第二部件的硬件信息不满足上述第一条件的情况下,升级第二部件的软件是无法使第二部件满足第一条件的,需要更换第二部件的硬件才能使第二部件满足第一条件。因此,在所述第二部件的信息中的硬件信息不满足所述第一条件的情况下,可 以通知车端升级失败,以便于用户更换硬件。In the first condition, the matching range of the information of the second component required when the first component is upgraded may include hardware information. If the hardware information of the second component does not meet the above-mentioned first condition, upgrading the software of the second component cannot make the second component meet the first condition, and the hardware of the second component needs to be replaced to make the second component meet the first condition. condition. Therefore, in the case that the hardware information in the information of the second component does not meet the first condition, the on-board upgrade failure can be notified, so as to facilitate the user to replace the hardware.
这样,既可以降低升级出错的可能性,又可以提示用户不能升级的原因,从而提升用户体验。In this way, the possibility of an upgrade error can be reduced, and the user can be prompted for the reason why the upgrade cannot be performed, thereby improving the user experience.
可选地,在第二部件的信息中的软件信息和/或固件信息不满足第一条件,且第二部件的信息中的硬件信息不满足第一条件的情况下,可以暂不升级第二部件,而直接通知车端升级失败,这样可以节省时间以及工作量。Optionally, in the case that the software information and/or firmware information in the information of the second component does not meet the first condition, and the hardware information in the information of the second component does not meet the first condition, you can temporarily not upgrade the second component. Parts, and directly notify the vehicle end of the upgrade failure, which can save time and workload.
图5b所示的方法可以由OTA服务器、OTA管理模块和OTA升级模块中的任意一者执行。在图5b所示的方法由OTA服务器执行的情况下,OTA服务器、OTA管理模块和OTA升级模块之间的交互流程可以参见图6。在图5b所示的方法由OTA管理模块执行的情况下,OTA服务器、OTA管理模块和OTA升级模块之间的交互流程可以参见图7。在图5b所示的方法由OTA升级模块执行的情况下,OTA服务器、OTA管理模块和OTA升级模块之间的交互流程可以参见图8。The method shown in FIG. 5b may be performed by any one of the OTA server, the OTA management module and the OTA upgrade module. In the case where the method shown in FIG. 5b is executed by the OTA server, the interaction flow between the OTA server, the OTA management module and the OTA upgrade module can be referred to in FIG. 6 . In the case where the method shown in FIG. 5b is executed by the OTA management module, the interaction flow between the OTA server, the OTA management module and the OTA upgrade module may refer to FIG. 7 . In the case where the method shown in FIG. 5b is performed by the OTA upgrade module, the interaction flow between the OTA server, the OTA management module and the OTA upgrade module can be referred to in FIG. 8 .
下面结合图6对OTA服务器执行图5b所示的方法的过程进行说明。图6示出根据本申请实施例的基于OTA的升级方法的交互流程图。如图6所示,所述基于OTA的升级方法包括:The process of executing the method shown in FIG. 5b by the OTA server will be described below with reference to FIG. 6 . FIG. 6 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application. As shown in Figure 6, the OTA-based upgrade method includes:
步骤S601,OTA管理模块收集车内各部件的软件信息、固件信息和硬件信息。Step S601, the OTA management module collects software information, firmware information and hardware information of each component in the vehicle.
其中,软件信息可以包括软件版本号,固件信息可以包括固件版本号,硬件信息可以包括硬件型号和/或硬件版本号。车内的部件包括但不限于图2所示的部件。OTA管理模块可以部署在GW中(如图2所示),也可以部署在其他部件中(未示出),例如Tbox中,对此本申请实施例不做限制。在一个示例中,OTA管理模块可以向各部件部署的OTA升级模块发送用于收集部件的信息的消息。各部件部署的,OTA升级模块接收到收集软硬件部件的信息的消息后,可以将所在部件的软件信息、固件信息和硬件信息中的一者或多者返回至OTA管理模块。The software information may include a software version number, the firmware information may include a firmware version number, and the hardware information may include a hardware model and/or a hardware version number. Components in the vehicle include, but are not limited to, the components shown in FIG. 2 . The OTA management module may be deployed in the GW (as shown in FIG. 2 ), or may be deployed in other components (not shown), for example, in the Tbox, which is not limited in this embodiment of the present application. In one example, the OTA management module may send a message to collect the information of the component to the OTA upgrade module deployed by each component. After each component is deployed, the OTA upgrade module can return one or more of the software information, firmware information and hardware information of the component to the OTA management module after receiving the message of collecting the information of the software and hardware components.
步骤S602,OTA管理模块向OTA服务器上报各部件的软件信息、固件信息和硬件信息。Step S602, the OTA management module reports the software information, firmware information and hardware information of each component to the OTA server.
OTA管理模块确认各OTA升级模块完成信息上报后,可以将收集到的各部件的信息上报至OTA服务器。在一个示例中,OTA管理模块可以向OTA服务器发送各部件的标识,以及每个标识关联的信息。其中,部件的标识可以用于识别唯一的部件,部件的标识可以包括部件的名称、部件的编号,或者部件的地址等,对此本申请不做限制。After the OTA management module confirms that each OTA upgrade module completes the information reporting, it can report the collected information of each component to the OTA server. In one example, the OTA management module may send the identities of the components, and the information associated with each identity, to the OTA server. The identifier of the component may be used to identify a unique component, and the identifier of the component may include the name of the component, the number of the component, or the address of the component, etc., which is not limited in this application.
在一种可能的实现方式中,OTA管理模块可以在与OTA服务器建立无线通信链路的情况下或者在接收到OTA服务器发送的上报信息的指示的情况下,收集车内各部件的信息并向OTA服务器上报各部件的信息。OTA管理模块也可以周期性的收集车内各部件的信息,并在与OTA服务器建立无线通信链路的情况下或者在接收到OTA服务器发送的上报信息的指示的情况下,将当前收集到的各部件的信息上报至OTA服务器。本申请实施例中,对OTA管理模块收集各部件的信息、以及上报各部件的信息的时机不做限制。In a possible implementation manner, the OTA management module may collect the information of each component in the vehicle and send it to the OTA server under the condition of establishing a wireless communication link with the OTA server or under the condition of receiving the indication of the reporting information sent by the OTA server. The OTA server reports the information of each component. The OTA management module can also periodically collect the information of various components in the vehicle, and when a wireless communication link is established with the OTA server or when receiving an indication of the reported information sent by the OTA server, the currently collected The information of each component is reported to the OTA server. In the embodiment of the present application, the timing of collecting the information of each component and reporting the information of each component by the OTA management module is not limited.
步骤S603,OTA服务器获取第一部件对应的第一策略包。Step S603, the OTA server obtains the first policy package corresponding to the first component.
其中,第一策略包可以用于表示第一部件对应的策略包。第一策略包可以用于指 示升级第一部件。The first policy package may be used to represent a policy package corresponding to the first component. The first policy package may be used to instruct to upgrade the first component.
可选地,第一策略包中包括第一条件,即升级第一部件时,第一部件关联的第二部件需要满足的条件。在实施中,第一策略包中,可以包括第一部件关联的第二部件的标识,以及所述第一条件。这样,OTA服务器可以根据第二部件的标识,从OTA管理模块上报的各部件的信息中,查找出第一部件关联的第二部件的信息。Optionally, the first policy package includes a first condition, that is, a condition that needs to be satisfied by the second component associated with the first component when the first component is upgraded. In implementation, the first policy package may include the identifier of the second component associated with the first component, and the first condition. In this way, the OTA server can find out the information of the second component associated with the first component from the information of each component reported by the OTA management module according to the identifier of the second component.
在应用中,第一策略包还可以包括升级条件、升级类型、升级顺序、用户通知策略、升级包大小,以及升级包下载地址等。其中,升级条件可以包括:车辆不处于以下状态:紧急事件处理状态、发动机处于工作状态、存储空间不足、剩余流量低于预设流量阈值等。当车辆处于以上状态中的任一状态时,升级包下载过程容易出现下载端点等状况,进而导致升级包下载失败。升级类型可以包括:静默(无需通知用户即升级)、常规(用户同意后升级)和强制(通知用户后无需用户同意即升级)。升级顺序可以表示不同部件升级的时间先后顺序。例如,为MDC升级自动驾驶功能时,需要先升级传感器(在需要升级多个传感器的软件版本的情况下,可以同时或者按照一定的时间先后顺序依次升级各传感器),再升级MDC。升级包的大小一般为几M到十几M。升级包下载地址可以指向OTA服务器也可以指向内容分发网络(Content Delivery Network,CDN),也就是说,升级包可以从OTA服务器下载,可以从CDN服务器下载。In application, the first policy package may further include upgrade conditions, upgrade types, upgrade order, user notification policy, upgrade package size, and upgrade package download address, and the like. The upgrade conditions may include: the vehicle is not in the following states: emergency handling state, the engine is in working state, the storage space is insufficient, the remaining flow rate is lower than a preset flow rate threshold, and the like. When the vehicle is in any of the above states, the downloading process of the upgrade package is prone to a situation such as a download endpoint, which in turn causes the download of the upgrade package to fail. Upgrade types can include: silent (upgrade without user notification), regular (upgrade with user consent), and mandatory (upgrade without user consent after notification). The upgrade sequence may indicate the chronological sequence of upgrades of different components. For example, when upgrading the automatic driving function for MDC, it is necessary to upgrade the sensors first (if the software versions of multiple sensors need to be upgraded, each sensor can be upgraded at the same time or in a certain chronological order), and then upgrade the MDC. The size of the upgrade package is generally from a few M to a dozen M. The upgrade package download address can point to an OTA server or a Content Delivery Network (CDN), that is, the upgrade package can be downloaded from an OTA server or a CDN server.
在实施中,OTA服务器可以根据升级前第一部件的软件版本信息,确定升级后第一部件的软件版本信息,并根据升级后第一部件的软件版本信息从软件仓库中获取第一部件的升级包或者第一部件的升级包的下载地址。OTA服务器可以根据升级前第一部件的软件版本信息和升级后第一部件的软件版本信息生成所述第一策略包。当然,上述第一策略包也可以由软件仓库根据升级前第一部件的软件版本信息和升级后第一部件的软件版本信息生成,OTA服务器可以从软件仓库中获取所述第一策略包。本申请实施例,对第一策略包的生成方式不做限制。In implementation, the OTA server may determine the software version information of the first component after the upgrade according to the software version information of the first component before the upgrade, and obtain the upgrade of the first component from the software warehouse according to the software version information of the first component after the upgrade The download address of the package or the upgrade package of the first component. The OTA server may generate the first policy package according to the software version information of the first component before the upgrade and the software version information of the first component after the upgrade. Of course, the above-mentioned first policy package can also be generated by the software warehouse according to the software version information of the first component before the upgrade and the software version information of the first component after the upgrade, and the OTA server can obtain the first policy package from the software warehouse. In this embodiment of the present application, the method for generating the first policy package is not limited.
步骤S604,OTA服务器根据第一策略包中的第二部件的标识,查找第一部件关联的第二部件的信息。Step S604, the OTA server searches for the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
第一策略包中可能包括一个或多个第二部件的标识。由于通过步骤S601和步骤S602,OTA服务器获取到了车内各部件的信息。因此,OTA服务器可以根据各第二部件的标识,在获取到的信息中,分别查找到第一部件关联的每个第二部件的信息。The first policy package may include the identification of one or more second components. Because through steps S601 and S602, the OTA server obtains the information of various components in the vehicle. Therefore, the OTA server can separately find information about each second component associated with the first component in the acquired information according to the identifier of each second component.
在本步骤中查找的第二部件的信息可以包括软件信息、固件信息和硬件信息中的一者或多者。具体查找的信息的内容可以根据第一条件中指示的匹配范围确定。例如,第一条件中指示的第二部件A的匹配范围为软件信息和固件信息,则查找到的第二部件的信息为第二部件A的软件信息和固件信息。又如,第一条件中指示的第二部件B的匹配范围为软件信息和硬件信息,则查找到的第二部件的信息为第二部件B的软件信息和固件信息。当然,在本步骤中,可以将第二部件的软件信息、固件信息和硬件信息都找出来,并后续确定第二部件是否满足第一条件时,选择需要的信息进行匹配即可。The information of the second component searched in this step may include one or more of software information, firmware information and hardware information. The content of the information to be specifically searched for may be determined according to the matching range indicated in the first condition. For example, the matching range of the second component A indicated in the first condition is software information and firmware information, then the information of the second component found is the software information and firmware information of the second component A. For another example, the matching range of the second component B indicated in the first condition is software information and hardware information, then the information of the second component found is the software information and firmware information of the second component B. Of course, in this step, the software information, firmware information and hardware information of the second component can be found out, and when it is subsequently determined whether the second component satisfies the first condition, the required information can be selected for matching.
步骤S605,OTA服务器根据查找到的第二部件的信息确定第二部件是否满足第一条件。Step S605, the OTA server determines whether the second component satisfies the first condition according to the found information of the second component.
其中,第一条件为在升级第一部件时,第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。可以理解的是,第一部件关联的第二部件可以有一个或多个。针对每个第二部件,存在一个在第一部件升级时所需的该第二部件的信息的匹配范围。The first condition is that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded. It will be understood that there may be one or more second components associated with the first component. For each second part, there is a matching range of the information of the second part required when the first part is upgraded.
针对每个第二部件:通过步骤S603,OTA服务器可以获取到第一部件升级时所需的该第二部件的信息的匹配范围(即第一条件),通过步骤S604,OTA服务器可以获取到该第二部件的信息。基于此,在本步骤中,OTA服务器可以根据该第二部件的信息确定该第二部件是否满足第一条件。在该第二部件的信息满足于第一部件升级时所需的该第二部件的信息的匹配范围时,可以确定该第二部件满足第一条件。For each second component: through step S603, the OTA server can obtain the matching range (ie, the first condition) of the information of the second component required when the first component is upgraded, and through step S604, the OTA server can obtain the Information about the second part. Based on this, in this step, the OTA server may determine whether the second component satisfies the first condition according to the information of the second component. When the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded, it may be determined that the second component satisfies the first condition.
可以理解的是,在所有的第二部件满足第一条件时,可以确定第一部件关联的第二部件满足第一条件。It can be understood that, when all the second components satisfy the first condition, it can be determined that the second components associated with the first component satisfy the first condition.
在第一部件关联的第二部件满足第一条件的情况下,表明第一部件具备升级的条件,可以升级第一部件,此时可以执行步骤S606至步骤S608。In the case that the second component associated with the first component satisfies the first condition, it indicates that the first component has the upgrade condition, the first component can be upgraded, and steps S606 to S608 can be performed at this time.
步骤S606,OTA服务器向OTA管理模块发送第一策略包。Step S606, the OTA server sends the first policy package to the OTA management module.
步骤S607,在第一策略包指示执行第一部件的升级操作时,OTA管理模块向第一部件部署的OTA升级模块发送升级指示。Step S607, when the first policy package instructs to perform the upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
其中,升级指示用于指示OTA升级模块执行升级操作,具体为安装并激活升级包。The upgrade instruction is used to instruct the OTA upgrade module to perform an upgrade operation, specifically installing and activating the upgrade package.
在一个示例中,第一策略包中包括升级条件、升级类型和升级顺序,且升级条件为发动机不处于工作状态,升级类型为静默,升级顺序为第一个升级。OTA管理模块接收到第一策略包后,对第一策略包进行解析后,若确定当前发动机不处于工作状态,则OTA管理模块可以确定当前需要执行第一部件的升级操作。此时,OTA管理模块可以向第一部件部署的OTA升级模块发送升级指示。In one example, the first policy package includes an upgrade condition, an upgrade type, and an upgrade sequence, and the upgrade condition is that the engine is not in a working state, the upgrade type is silent, and the upgrade sequence is the first upgrade. After the OTA management module receives the first policy package and parses the first policy package, if it is determined that the current engine is not in a working state, the OTA management module may determine that an upgrade operation of the first component needs to be performed currently. At this time, the OTA management module may send an upgrade instruction to the OTA upgrade module deployed by the first component.
步骤S608,OTA升级模块接收到升级指示后,升级第一部件。Step S608, after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
在一种可能的实现方式中,步骤S607发送的升级指示中可以包括第一部件的升级包。在步骤S608中,OTA升级模块可以在接收到升级指示后,从升级指示中获取第一部件的升级包,安装并激活第一部件的升级包,以升级第一部件。需要说明的是,这里的第一部件的升级包可以是OTA服务器在步骤606下发第一策略包时一起下发至OTA管理模块的,也可以是OTA管理模块接收到第一策略包之后,根据第一策略包中的下载地址(从OTA服务器或者CDN中)下载的。In a possible implementation manner, the upgrade instruction sent in step S607 may include an upgrade package of the first component. In step S608, after receiving the upgrade instruction, the OTA upgrade module may obtain the upgrade package of the first component from the upgrade instruction, and install and activate the upgrade package of the first component to upgrade the first component. It should be noted that the upgrade package of the first component here may be delivered by the OTA server to the OTA management module when the first policy package is delivered in step 606, or after the OTA management module receives the first policy package, It is downloaded according to the download address in the first policy package (from the OTA server or CDN).
在一种可能的实现方式中,步骤S607发送的升级指示中可以包括第一部件的升级包的下载地址。在步骤S608中,OTA升级模块可以在接收到升级指示后,从升级指示中获取第一部件的升级包的下载地址,按照该下载地址(从OTA服务器或者CDN中)下载第一部件的升级包,安装并激活第一部件的升级包,以升级第一部件。In a possible implementation manner, the upgrade instruction sent in step S607 may include the download address of the upgrade package of the first component. In step S608, after receiving the upgrade instruction, the OTA upgrade module may obtain the download address of the upgrade package of the first component from the upgrade instruction, and download the upgrade package of the first component according to the download address (from the OTA server or CDN). , install and activate the upgrade package for the first part to upgrade the first part.
本申请实施例通过OTA实现了第一部件的升级,本申请实施例对获取第一部件的升级包的方式不做限制。The embodiment of the present application implements the upgrade of the first component through OTA, and the embodiment of the present application does not limit the manner of acquiring the upgrade package of the first component.
第二部件的信息可以为硬件信息、软件信息和固件信息中的至少一项。第二部件不满足第一条件可能是由于第二部件的软件信息和/或固件信息不满足升级第一部件时需要的第二部件的软件信息和/或固件信息造成的,也可能是由于第二部件的硬件信息不满足升级第一部件时需要的第二部件的硬件信息造成的,还可能是由于第二部件 的软件信息和/或固件信息,以及硬件信息,均不满足升级第一部件时需要的第二部件的软件信息和/或固件信息,以及硬件信息造成的。在软件信息和/或固件信息不满足的情况下,可以通过升级第二部件使得第二部件的软件信息和/或固件信息满足升级第一部件时需要的第二部件的软件信息和/或固件信息,进而使得第二部件满足第一条件。而在硬件信息不满足的情况下,则需要更换硬件才能升级第一部件。下面分别对上述两种情况下的交互过程进行说明。The information of the second component may be at least one of hardware information, software information and firmware information. The fact that the second component does not satisfy the first condition may be caused by the fact that the software information and/or firmware information of the second component does not meet the software information and/or firmware information of the second component required for upgrading the first component, or it may be caused by the The hardware information of the second component does not meet the hardware information of the second component required for upgrading the first component. It may also be caused by the software information and/or firmware information of the second component, as well as the hardware information, which do not meet the requirements for upgrading the first component. When required, the software information and/or firmware information of the second component, as well as the hardware information. In the case where the software information and/or firmware information is not satisfied, the software information and/or firmware information of the second component can be updated to satisfy the software information and/or firmware of the second component required for upgrading the first component by upgrading the second component. information, so that the second component satisfies the first condition. When the hardware information is not satisfied, the first component needs to be replaced by replacing the hardware. The interaction process in the above two cases is described below.
在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,表明升级第二部件后,才能实现第一部件的升级,此时可以执行步骤S609至步骤S613。If the software information and/or firmware information in the information of the second component does not meet the first condition, it indicates that the first component can be upgraded only after the second component is upgraded. In this case, steps S609 to S613 may be performed.
步骤S609,OTA服务器获取软件信息和/或固件信息不满足第一条件的第二部件的升级包,以及第二部件对应的第二策略包。Step S609, the OTA server obtains the upgrade package of the second component whose software information and/or firmware information does not meet the first condition, and the second policy package corresponding to the second component.
这里,针对第一部件关联的任意一个第二部件:在第一部件升级时所需的第二部件的信息的匹配范围包括软件信息和/或固件信息,且升级第一部件时,该第二部件的软件信息和/或固件信息不满足第一条件中指示的第一部件升级时所需的该第二部件的软件信息和/或固件信息的情况下,表明该第二部件的软件信息不满足第一条件,该第二部件可以被确定为软件信息和/或固件信息不满足第一条件的第二部件。Here, for any second component associated with the first component: the matching range of the information of the second component required when the first component is upgraded includes software information and/or firmware information, and when the first component is upgraded, the second component If the software information and/or firmware information of the component does not satisfy the software information and/or firmware information of the second component required for the upgrade of the first component indicated in the first condition, it indicates that the software information of the second component does not Satisfying the first condition, the second component may be determined as a second component whose software information and/or firmware information does not satisfy the first condition.
对于软件信息和/或固件信息不满足第一条件的第二部件,需要首先升级该第二部件,以使该第二部件的软件信息和/或固件信息满足第一条件,进而使第一部件关联的第二部件满足第一条件。因此,OTA服务器可以获取软件信息和/或固件信息不满足第一条件的第二部件的升级包,以升级第二部件。For the second component whose software information and/or firmware information does not meet the first condition, the second component needs to be upgraded first, so that the software information and/or firmware information of the second component satisfies the first condition, and then the first component needs to be upgraded. The associated second component satisfies the first condition. Therefore, the OTA server may obtain an upgrade package of the second component whose software information and/or firmware information does not satisfy the first condition, so as to upgrade the second component.
第二策略包可以用于表示第二部件对应的策略包。第二策略包可以用于指示升级第二部件。第二策略包中包括第二部件之间的升级顺序,OTA管理模块可以按照该升级顺序指示不同的第二部件进行升级。The second policy package may be used to represent the policy package corresponding to the second component. The second policy package may be used to instruct to upgrade the second component. The second policy package includes an upgrade sequence between the second components, and the OTA management module may instruct different second components to upgrade according to the upgrade sequence.
在一种可能的实现方式中,第二策略包还可以包括第二部件关联的第三部件的标识,以及第二条件。其中,第二部件关联的第三部件可以表示升级第二部件时需要满足一定条件的部件。在本申请实施例中,升级第二部件时第三部件需要满足的条件可以称为第二条件。也就是说,在第三部件满足第二条件时,可以实现对第二部件的升级,在第三部件不满足第二条件时,无法实现对第二部件的升级。第二条件可以为升级第二部件时,第三部件的信息满足于第二部件升级时所需的第三部件的信息的匹配范围。第二条件可以参照第一条件,这里不再赘述。In a possible implementation manner, the second policy package may further include an identifier of a third component associated with the second component, and a second condition. The third component associated with the second component may represent a component that needs to meet certain conditions when upgrading the second component. In this embodiment of the present application, the condition that the third component needs to meet when the second component is upgraded may be referred to as the second condition. That is, when the third component satisfies the second condition, the second component can be upgraded, and when the third component does not meet the second condition, the second component cannot be upgraded. The second condition may be that when the second component is upgraded, the information of the third component satisfies the matching range of the information of the third component required when the second component is upgraded. For the second condition, reference may be made to the first condition, which will not be repeated here.
在一种可能的实现方式中,第二策略包还可以包括升级条件、升级类型、升级顺序、用户通知策略、升级包大小,以及升级包下载地址等。第二策略包可以参照第一策略包这里不再赘述。In a possible implementation manner, the second policy package may further include upgrade conditions, upgrade type, upgrade sequence, user notification policy, upgrade package size, and upgrade package download address, and the like. For the second policy package, reference may be made to the first policy package, which will not be repeated here.
步骤S610,OTA服务器向OTA管理模块发送第一策略包、第二部件的升级包,以及第二策略包。Step S610, the OTA server sends the first policy package, the upgrade package of the second component, and the second policy package to the OTA management module.
步骤S611,在第二策略包指示执行第二部件的升级操作时,OTA管理模块采用第二部件的升级包对软件信息和/或固件信息不满足第一条件的第二部件进行升级,以使第二部件满足第一条件。Step S611, when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the software information and/or firmware information do not meet the first condition. The second component satisfies the first condition.
在第二部件的软件信息和/或固件信息满足第一条件时,表明第一部件具备进行软件升级的条件,可以升级第一部件。When the software information and/or firmware information of the second component satisfies the first condition, it indicates that the first component has the conditions for software upgrade, and the first component can be upgraded.
步骤S612,在第一策略包指示执行第一部件的升级操作时,OTA管理模块向第一部件部署的OTA升级模块发送升级指示。Step S612, when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
步骤S613,OTA升级模块接收到升级指示后,升级第一部件。Step S613, after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
步骤S612和步骤S613可以参照步骤S607和步骤S608,这里不再赘述。For steps S612 and S613, reference may be made to steps S607 and S608, which will not be repeated here.
可以理解的,在本申请实施例中,升级第二部件的过程需要在升级第一部件之前完成,以使第一部件可以顺利升级。It can be understood that, in this embodiment of the present application, the process of upgrading the second component needs to be completed before upgrading the first component, so that the first component can be upgraded smoothly.
在第二部件的信息中的硬件信息不满足第一条件的情况下,表明需要更换硬件才能实现升级后的第一部件的功能,此时可以执行步骤S614和步骤S615,以便于用户了解情况,提升用户体验。In the case where the hardware information in the information of the second component does not meet the first condition, it indicates that the hardware needs to be replaced to realize the function of the upgraded first component. At this time, steps S614 and S615 can be performed to facilitate the user to understand the situation, Improve user experience.
步骤S614,OTA服务器向OTA管理模块发送升级失败消息。Step S614, the OTA server sends an upgrade failure message to the OTA management module.
在一个示例中,升级失败消息中可以包括硬件信息不满足第一条件的第二部件的标识、当前的硬件版本号和/或硬件型号,以及需要的硬件版本号和/或硬件型号。In one example, the upgrade failure message may include the identifier of the second component whose hardware information does not meet the first condition, the current hardware version number and/or hardware model, and the required hardware version number and/or hardware model.
步骤S615,OTA管理模块接收到升级失败消息后,通知用户。Step S615, after receiving the upgrade failure message, the OTA management module notifies the user.
在接收到升级失败消息后,OTA管理模块可以通知用户哪个部件的硬件不符合硬件需求,该部件当前的硬件信息是什么,升级需要的硬件需求是什么。在一个示例中,通知的内容可以参照步骤S614中升级失败消息的内容。在一个示例中,OTA管理模块可以通过车载人机交互系统(例如影音系统)通知用户,还可以将通知发送至与Tbox等部件建立了通信连接的终端设备(例如手机、笔记本电脑等)。由终端设备向用户展示通知。After receiving the upgrade failure message, the OTA management module can notify the user of which component's hardware does not meet the hardware requirements, what is the current hardware information of the component, and what hardware requirements are required for the upgrade. In an example, the content of the notification may refer to the content of the upgrade failure message in step S614. In one example, the OTA management module can notify the user through an on-board human-computer interaction system (such as an audio-visual system), and can also send a notification to a terminal device (such as a mobile phone, a laptop, etc.) that has established a communication connection with components such as the Tbox. The notification is presented to the user by the end device.
本申请实施例提供的基于OTA的升级方法,在升级第一部件时,对第一部件关联的第二部件的是否满足第一条件进行检查,以提升第一部件的升级包的成功安装和激活的可能性,降低了升级出错率,提高了用户体验。In the OTA-based upgrade method provided by the embodiment of the present application, when the first component is upgraded, it is checked whether the second component associated with the first component satisfies the first condition, so as to improve the successful installation and activation of the upgrade package of the first component The possibility of reducing the upgrade error rate and improving the user experience.
同时,由OTA服务器执行对第二部件的检查可以不用修改OTA管理模块的逻辑,降低对OTA管理模块的要求。At the same time, the checking of the second component is performed by the OTA server without modifying the logic of the OTA management module, thereby reducing the requirements for the OTA management module.
下面结合图7对OTA管理模块执行图5b所示的方法的过程进行说明。图7示出根据本申请实施例的基于OTA的升级方法的交互流程图。如图7所示,基于OTA的升级方法包括:The process of executing the method shown in FIG. 5b by the OTA management module will be described below with reference to FIG. 7 . FIG. 7 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application. As shown in Figure 7, the OTA-based upgrade method includes:
步骤S701,OTA管理模块收集车内各部件的软件信息、固件信息和硬件信息。Step S701, the OTA management module collects software information, firmware information and hardware information of each component in the vehicle.
考虑到OTA管理模块需要根据第一部件关联的第二部件的软件信息、固件信息和硬件信息中的一者或多者确定第二部件是否满足第一条件,因此,OTA管理模块需要收集车内各部件的软件信息、固件信息和硬件信息。Considering that the OTA management module needs to determine whether the second component satisfies the first condition according to one or more of the software information, firmware information and hardware information of the second component associated with the first component, the OTA management module needs to collect the in-vehicle information. Software information, firmware information and hardware information of each component.
步骤S702,OTA管理模块向OTA服务器上报各部件的软件信息和/或固件信息。Step S702, the OTA management module reports the software information and/or firmware information of each component to the OTA server.
考虑到OTA服务器获取或者生成策略包以及升级包时,需要使用部件的软件信息和/或固件信息。其中,在进行软件升级时,需要使用软件信息,在进行固件升级时需要使用固件信息。因此,这里需要OTA管理模块向OTA服务器上报各部件的软件信息和/或固件信息。考虑到,OTA服务器不需要对第二部件的硬件进行检查,因此,OTA管理模块不需要向OTA服务器上报各部件的硬件信息,以节省OTA管理模块与OTA服务器之间的通信资源以及OTA服务器的存储资源。Considering that when the OTA server obtains or generates the policy package and the upgrade package, the software information and/or firmware information of the component needs to be used. The software information needs to be used when the software is upgraded, and the firmware information needs to be used when the firmware is upgraded. Therefore, the OTA management module needs to report the software information and/or firmware information of each component to the OTA server. Considering that the OTA server does not need to check the hardware of the second component, therefore, the OTA management module does not need to report the hardware information of each component to the OTA server, so as to save the communication resources between the OTA management module and the OTA server and the OTA server's communication resources. storage resources.
步骤S703,OTA服务器获取第一部件对应的第一策略包。Step S703, the OTA server obtains the first policy package corresponding to the first component.
步骤S703可以参照步骤S603这里不再赘述。Step S703 may refer to step S603 and will not be repeated here.
步骤S704,OTA服务器向OTA管理模块发送第一策略包。Step S704, the OTA server sends the first policy package to the OTA management module.
由于OTA服务器不执行第二部件是否满足第一条件的检查,因此,OTA服务器获取到第一策略包后,可以直接将第一策略包发送至OTA管理模块。Since the OTA server does not check whether the second component satisfies the first condition, after acquiring the first policy package, the OTA server can directly send the first policy package to the OTA management module.
步骤S705,OTA管理模块根据第一策略包中的第二部件的标识,查找第一部件关联的第二部件的信息。Step S705, the OTA management module searches for the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
由于通过步骤S701,OTA管理模块收集了车内各部件的信息。因此,OTA管理模块可以根据各第二部件的标识,在收集到的信息中,分别查找到第一部件关联的各第二部件的信息。在本步骤中,查找到的第二部件的信息可以为软件信息、固件信息和硬件信息中的一者或多者。本步骤可以参照步骤S604,这里不再赘述。Through step S701, the OTA management module collects the information of each component in the vehicle. Therefore, the OTA management module can find the information of each second component associated with the first component in the collected information according to the identifier of each second component. In this step, the found information of the second component may be one or more of software information, firmware information and hardware information. For this step, reference may be made to step S604, which will not be repeated here.
步骤S706,OTA管理模块根据查找到的第二部件的信息确定第二部件是否满足第一条件。Step S706, the OTA management module determines whether the second component satisfies the first condition according to the found information of the second component.
步骤S706可以参照步骤S605,这里不再赘述。Step S706 may refer to step S605, which will not be repeated here.
在第一部件关联的第二部件满足第一条件的情况下,表明第一部件具备升级的条件,可以升级第一部件,此时可以执行步骤S707和步骤S708。If the second component associated with the first component satisfies the first condition, it indicates that the first component has the upgrade condition, the first component can be upgraded, and steps S707 and S708 can be executed at this time.
步骤S707,在第一策略包指示执行第一部件的升级操作时,OTA管理模块向第一部件部署的OTA升级模块发送升级指示。Step S707, when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
步骤S708,OTA升级模块接收到升级指示后,升级第一部件。Step S708, after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
步骤S707和步骤S708可以参照步骤S607和步骤S608,这里不再赘述。For steps S707 and S708, reference may be made to steps S607 and S608, which will not be repeated here.
在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,表明升级第二部件后,才能实现第一部件的升级,此时可以执行步骤S709至步骤S713。If the software information and/or firmware information in the information of the second component does not meet the first condition, it indicates that the first component can be upgraded only after the second component is upgraded, and steps S709 to S713 may be performed at this time.
步骤S709,OTA管理模块向OTA服务器发送第一请求,第一请求用于请求升级第二部件。Step S709, the OTA management module sends a first request to the OTA server, where the first request is used to request to upgrade the second component.
在一个示例中,第一请求中包括一个或多个第二部件的标识,以及每个第二部件当前的软件版本信息和需要的软件版本信息(可以从第一条件中获取)。In one example, the first request includes identifiers of one or more second components, as well as current software version information and required software version information of each second component (which can be obtained from the first condition).
步骤S710,响应于第一请求,OTA服务器向OTA管理模块返回第二部件的升级包和第二部件对应的第二策略包。Step S710, in response to the first request, the OTA server returns the upgrade package of the second component and the second policy package corresponding to the second component to the OTA management module.
OTA服务器接收到第一请求之后,可以按照每个第二部件需要的软件版本信息和当前的软件版本信息从软件仓库中获取各第二部件的升级包以及策略包。After receiving the first request, the OTA server may obtain the upgrade package and the policy package of each second component from the software repository according to the software version information required by each second component and the current software version information.
步骤S711,在第二策略包指示执行第二部件的升级操作时,OTA管理模块采用第二部件的升级包对软件信息和/或固件信息不满足第一条件的第二部件进行升级,以使第二部件满足第一条件。Step S711, when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the The second component satisfies the first condition.
在一个示例中,OTA管理模块可以按照第二策略包指示的升级顺序,向各第二部件部署的OTA升级模块发送升级指示。部署第二部件的OTA升级模块接收到该升级指示后,可以升级第二部件。第二部件软件升级的方式可以参照第一部件软件升级的方式,这里不再赘述。In one example, the OTA management module may send an upgrade instruction to the OTA upgrade module deployed on each second component according to the upgrade sequence indicated by the second policy package. After receiving the upgrade instruction, the OTA upgrade module deploying the second component can upgrade the second component. For the software upgrade method of the second component, reference may be made to the software upgrade method of the first component, which will not be repeated here.
步骤S711可以参照步骤S611,这里不再赘述。Step S711 may refer to step S611, which will not be repeated here.
步骤S712,在第一策略包指示执行第一部件的升级操作时,OTA管理模块向第一部件部署的OTA升级模块发送升级指示。Step S712, when the first policy package instructs to perform an upgrade operation of the first component, the OTA management module sends an upgrade instruction to the OTA upgrade module deployed by the first component.
步骤S713,OTA升级模块接收到升级指示后,升级第一部件。Step S713, after receiving the upgrade instruction, the OTA upgrade module upgrades the first component.
步骤S712和步骤S713可以参照步骤S607和步骤S608,这里不再赘述。Step S712 and step S713 can refer to step S607 and step S608, which will not be repeated here.
在第二部件的信息中的硬件信息不满足第一条件的情况下,表明需要更换硬件才能实现升级后的第一部件的功能,此时可以执行步骤S714。In the case that the hardware information in the information of the second component does not meet the first condition, it indicates that the hardware needs to be replaced to realize the function of the upgraded first component, and step S714 may be executed at this time.
步骤S714,OTA服务器向用户发送升级失败通知。Step S714, the OTA server sends an upgrade failure notification to the user.
在一个示例中,本步骤发送的升级失败通知中可以包括硬件信息不满足第一条件的第二部件的标识、当前的硬件版本号和/或硬件型号,以及需要的硬件版本号和/或硬件型号。在一个示例中,OTA管理模块可以通过车载人机交互系统(例如影音系统)通知用户,还可以将通知发送至与Tbox等部件建立了通信连接的电子设备(例如手机、笔记本电脑等)。由该电子设备向用户展示通知。In an example, the upgrade failure notification sent in this step may include the identifier of the second component whose hardware information does not meet the first condition, the current hardware version number and/or hardware model, and the required hardware version number and/or hardware model. In one example, the OTA management module can notify the user through an on-board human-computer interaction system (such as an audio-visual system), and can also send the notification to an electronic device (such as a mobile phone, a laptop, etc.) that has established a communication connection with components such as the Tbox. The notification is presented to the user by the electronic device.
本申请实施例提供的基于OTA的升级方法,在升级第一部件时,根据第一部件关联的第二部件的信息对第二部件是否满足第一条件进行检查,以确保第一部件的升级包的成功安装和激活,降低了升级出错率,提高了用户体验。In the OTA-based upgrade method provided by this embodiment of the present application, when upgrading a first component, it is checked whether the second component satisfies the first condition according to the information of the second component associated with the first component, so as to ensure the upgrade package of the first component. The successful installation and activation reduces the upgrade error rate and improves the user experience.
同时,由OTA管理模块执行第二部件是否满足第一条件的检查,可以降低OTA服务器的工作量,有利于多个车辆(例如车辆组)同时进行OTA升级。At the same time, the checking of whether the second component meets the first condition is performed by the OTA management module, which can reduce the workload of the OTA server, which is beneficial for multiple vehicles (eg, vehicle groups) to perform OTA upgrades at the same time.
下面结合图8对OTA升级模块执行图5b所示的方法的过程进行说明。图8示出根据本申请实施例的基于OTA的升级方法的交互流程图。如图8所示,基于OTA的升级方法包括:The process of executing the method shown in FIG. 5b by the OTA upgrade module will be described below with reference to FIG. 8 . FIG. 8 shows an interaction flowchart of an OTA-based upgrade method according to an embodiment of the present application. As shown in Figure 8, the OTA-based upgrade method includes:
步骤S801,OTA管理模块收集车内各部件的软件信息和固件信息。Step S801, the OTA management module collects software information and firmware information of each component in the vehicle.
步骤S802,OTA管理模块向OTA服务器上报各部件的软件信息和/或固件信息。Step S802, the OTA management module reports the software information and/or firmware information of each component to the OTA server.
考虑到OTA管理模块和OTA服务器均不需要对第二部件的硬件进行检查,因此,OTA管理模块不需要收集车内各部件的硬件信息,也不要向OTA服务器上报各部件的硬件信息。Considering that neither the OTA management module nor the OTA server need to check the hardware of the second component, the OTA management module does not need to collect the hardware information of each component in the vehicle, nor report the hardware information of each component to the OTA server.
步骤S803,OTA服务器获取第一部件对应的第一策略包。Step S803, the OTA server obtains the first policy package corresponding to the first component.
步骤S803可以参照步骤S603,这里不再赘述。Step S803 may refer to step S603, which will not be repeated here.
步骤S804,OTA服务器向OTA管理模块发送第一策略包。Step S804, the OTA server sends the first policy package to the OTA management module.
步骤S805,在第一策略包指示执行第一部件的升级操作时,OTA管理模块向第一部件部署的OTA升级模块发送升级指示以及第一策略包。Step S805, when the first policy package instructs to perform the upgrade operation of the first component, the OTA management module sends the upgrade instruction and the first policy package to the OTA upgrade module deployed by the first component.
步骤S806,OTA升级模块在接收到升级指示的情况下,根据第一策略包中的第二部件的标识,获取第一部件关联的第二部件的信息。Step S806, in the case of receiving the upgrade instruction, the OTA upgrade module obtains the information of the second component associated with the first component according to the identifier of the second component in the first policy package.
本步骤中获取的第二部件的信息可以包括软件信息、固件信息和硬件信息中的一者或多者。The information of the second component acquired in this step may include one or more of software information, firmware information and hardware information.
在一个示例中,OTA升级模块可以向OTA管理模块发送第二请求,其中,第二请求用于获取第二部件的软件信息、固件信息和硬件信息中的一者或多者,第二请求中包括一个或多个第二部件的标识。OTA管理模块接收到第二请求后,可以根据第二请求中包括的第二部件的标识,通过相应的OTA升级模块获取相应的第二部件的软件信息、固件信息以及硬件信息。然后,OTA管理模块可以将获取到的软件信息、固件信息和硬件信息发送至第一部件部署的OTA升级模块。在一种可能的实现方式中,OTA管理模块可以在步骤S801中除了收集各部件的软件信息和固件信息以外,还可 以手机各部件的硬件信息,这样,OTA管理模块在接收到第二请求后,在本地查找第二部件的软件信息、固件信息和硬件信息,而无需再与第二部件部署的OTA升级模块进行交互,可以节省时间。In one example, the OTA upgrade module may send a second request to the OTA management module, wherein the second request is used to obtain one or more of software information, firmware information and hardware information of the second component, and the second request Include the identification of one or more second components. After receiving the second request, the OTA management module can obtain software information, firmware information and hardware information of the corresponding second component through the corresponding OTA upgrade module according to the identifier of the second component included in the second request. Then, the OTA management module may send the acquired software information, firmware information and hardware information to the OTA upgrade module deployed by the first component. In a possible implementation manner, in step S801, the OTA management module may not only collect the software information and firmware information of each component, but also the hardware information of each component of the mobile phone. In this way, after receiving the second request, the OTA management module may , the software information, firmware information and hardware information of the second component are searched locally without interacting with the OTA upgrade module deployed by the second component, which can save time.
步骤S807,OTA升级模块根据获取的第二部件的信息确定第二部件是否满足第一条件。Step S807, the OTA upgrade module determines whether the second component satisfies the first condition according to the acquired information of the second component.
在第一部件关联的第二部件满足第一条件的情况下,表明第一部件具备升级的条件,可以升级第一部件,此时可以执行步骤S808。If the second component associated with the first component satisfies the first condition, it indicates that the first component has the upgrade condition, the first component can be upgraded, and step S808 can be performed at this time.
步骤S808,OTA升级模块升级第一部件。Step S808, the OTA upgrade module upgrades the first component.
在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,表明升级第二部件后,才能实现第一部件的升级,此时可以执行步骤S809至步骤S814。If the software information and/or firmware information in the information of the second component does not meet the first condition, it indicates that the first component can be upgraded only after the second component is upgraded, and steps S809 to S814 may be performed at this time.
步骤S809,OTA升级模块向OTA管理模块发送第一请求,其中,第一请求用于请求升级第二部件。Step S809, the OTA upgrade module sends a first request to the OTA management module, where the first request is used to request to upgrade the second component.
步骤S810,OTA管理模块向OTA服务器发送第一请求。Step S810, the OTA management module sends a first request to the OTA server.
步骤S809和步骤S810可以参照步骤S709,这里不再赘述。Step S809 and step S810 may refer to step S709, which will not be repeated here.
步骤S811,响应于第一请求,OTA服务器向OTA管理模块返回第二部件的升级包和第二部件对应的第二策略包。Step S811, in response to the first request, the OTA server returns the upgrade package of the second component and the second policy package corresponding to the second component to the OTA management module.
步骤S811可以参照步骤S710,这里不再赘述。Step S811 may refer to step S710, which will not be repeated here.
步骤S812,在第二策略包指示执行第二部件的升级操作时,OTA管理模块采用第二部件的升级包对软件信息和/或固件信息不满足第一条件的第二部件进行升级,以使第二部件满足第一条件。Step S812, when the second policy package instructs to perform the upgrade operation of the second component, the OTA management module uses the upgrade package of the second component to upgrade the second component whose software information and/or firmware information does not meet the first condition, so that the software information and/or firmware information do not meet the first condition. The second component satisfies the first condition.
步骤S813,OTA管理模块向第一部件部署的OTA升级模块发送第二部件升级完成消息。Step S813, the OTA management module sends a second component upgrade completion message to the OTA upgrade module deployed on the first component.
步骤S814,OTA升级模块接收到第二部件升级完成消息时,升级第一部件。Step S814, when the OTA upgrade module receives the second component upgrade completion message, it upgrades the first component.
步骤S812和步骤S813可以参照步骤S807和步骤S808,这里不再赘述。For steps S812 and S813, reference may be made to steps S807 and S808, which will not be repeated here.
在第二部件的信息中的硬件信息不满足第一条件的情况下,表明需要更换硬件才能实现升级后的第一部件的功能,此时可以执行步骤S815和步骤S816。In the case that the hardware information in the information of the second component does not meet the first condition, it indicates that the hardware needs to be replaced to realize the function of the upgraded first component. In this case, steps S815 and S816 may be performed.
步骤S815,OTA升级模块向OTA管理模块发送升级失败消息。Step S815, the OTA upgrade module sends an upgrade failure message to the OTA management module.
步骤S815可以参照步骤S614,这里不再赘述。Step S815 may refer to step S614, which will not be repeated here.
步骤S816,OTA管理模块接收到升级失败消息后,通知用户。Step S816, after receiving the upgrade failure message, the OTA management module notifies the user.
步骤S816可以参照步骤S615,这里不再赘述。Step S816 may refer to step S615, which will not be repeated here.
本申请实施例提供的基于OTA的升级方法,在升级第一部件的软件时,对第一部件关联的第二部件是否满足第一条件进行了检查,以确保第一部件的升级包的成功安装和激活,降低了升级出错率,提高了用户体验。In the OTA-based upgrade method provided by the embodiment of the present application, when upgrading the software of the first component, it is checked whether the second component associated with the first component satisfies the first condition, so as to ensure the successful installation of the upgrade package of the first component and activation, which reduces the upgrade error rate and improves the user experience.
同时,由OTA升级模块执行第二部件是否满足第一条件的检查,可以降低OTA服务器的工作量,以及OTA管理模块的工作量,有利于车内多个部件的同步升级,特别是有利于整车升级。At the same time, the check of whether the second component meets the first condition is performed by the OTA upgrade module, which can reduce the workload of the OTA server and the workload of the OTA management module, which is conducive to the synchronous upgrade of multiple components in the vehicle, especially the overall car upgrade.
需要说明的是,OTA服务器在向OTA管理模块发送策略包(例如第一策略包、第二策略包等)或者升级包(例如第一部件的升级包、第二部件的升级包等)之前,需要对策略包和升级包进行签名。OTA管理模块在接收到签名的策略包或者升级包后, 先验证策略包或者升级包的签名,在签名验证通过之后,再进行后续处理。同样,OTA管理模块在向OTA升级模块发送策略包或者升级包之前,需要对策略包和升级包进行签名。OTA升级模块在接收到签名的策略包或者升级包之后,可以先验证策略包或者升级包的签名,在签名验证通过之后再进行后续处理。这样,可以提高数据安全性,降低升级出错的可能性。It should be noted that, before the OTA server sends a policy package (for example, a first policy package, a second policy package, etc.) or an upgrade package (for example, an upgrade package for the first component, an upgrade package for the second component, etc.) to the OTA management module, Policy packages and upgrade packages need to be signed. After receiving the signed policy package or upgrade package, the OTA management module first verifies the signature of the policy package or upgrade package, and then performs subsequent processing after the signature verification is passed. Likewise, before sending the policy package or the upgrade package to the OTA upgrade module, the OTA management module needs to sign the policy package and the upgrade package. After receiving the signed policy package or upgrade package, the OTA upgrade module can first verify the signature of the policy package or upgrade package, and then perform subsequent processing after the signature verification is passed. In this way, data security can be improved and the possibility of upgrade errors can be reduced.
图9示出根据本申请实施例的基于OTA的升级装置的结构示意图。该装置90可以设置在OTA服务器、OTA管理模块和OTA升级模块中的任意一者之中。如图9所示,该装置90可以包括:FIG. 9 shows a schematic structural diagram of an OTA-based upgrade apparatus according to an embodiment of the present application. The device 90 may be provided in any one of an OTA server, an OTA management module and an OTA upgrade module. As shown in FIG. 9, the apparatus 90 may include:
获取模块91,用于获取与第一部件关联的第二部件的信息;确定模块92,用于根据获取模块91获取的第二部件的信息确定第二部件是否满足第一条件,第一条件为升级第一部件时,第二部件需要满足的条件;第一升级模块93,用于在确定模块92确定第二部件满足第一条件的情况下,通过OTA升级第一部件。The acquisition module 91 is used to acquire the information of the second part associated with the first part; the determination module 92 is used to determine whether the second part satisfies the first condition according to the information of the second part acquired by the acquisition module 91, and the first condition is When upgrading the first component, the second component needs to meet the conditions; the first upgrade module 93 is configured to upgrade the first component through OTA when the determination module 92 determines that the second component meets the first condition.
在一种可能的实现方式中,第一条件为在升级第一部件时,第二部件的信息满足于第一部件升级时所需的第二部件的信息的匹配范围。In a possible implementation manner, the first condition is that when the first component is upgraded, the information of the second component satisfies the matching range of the information of the second component required when the first component is upgraded.
在一种可能的实现方式中,第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。In a possible implementation manner, the information of the second component is at least one item of hardware information, software information, and firmware information.
在一种可能的实现方式中,装置90还包括:In a possible implementation manner, the apparatus 90 further includes:
第二升级模块,用于在第二部件的信息中的软件信息和/或固件信息不满足第一条件的情况下,则升级第二部件以使第二部件满足第一条件。The second upgrade module is configured to upgrade the second component so that the second component meets the first condition when the software information and/or firmware information in the information of the second component does not meet the first condition.
在一种可能的实现方式中,装置90还包括:In a possible implementation manner, the apparatus 90 further includes:
通知模块,用于在第二部件的信息中的硬件信息不满足第一条件的情况下,则通知车端升级失败。The notification module is configured to notify the on-board upgrade failure when the hardware information in the information of the second component does not meet the first condition.
在本申请实施例中,通过在升级第一部件时,第一部件关联的第二部件的信息进行检查;在第二部件的信息满足第一部件升级时所需的第二部件的信息的匹配范围时,升级第一部件,从而降低了第一部件升级失败,以及进行第一部件升级后出现部分功能不可用、易出错等问题的可能,提高了OTA升级的可靠性,提升了用户体验。In this embodiment of the present application, when the first component is upgraded, the information of the second component associated with the first component is checked; when the information of the second component satisfies the matching of the information of the second component required when the first component is upgraded When the first part is in the range, the first part is upgraded, thereby reducing the possibility of the failure of the first part to be upgraded, and the possibility of some functions being unavailable and error-prone after the first part is upgraded, which improves the reliability of the OTA upgrade and improves the user experience.
本申请的实施例提供了一种电子设备,包括:处理器以及用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行所述指令时实现上述方法。An embodiment of the present application provides an electronic device, including: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above method when executing the instructions.
本申请的实施例提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。Embodiments of the present application provide a computer program product, including computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are stored in a processor of an electronic device When running in the electronic device, the processor in the electronic device executes the above method.
本申请的实施例提供了一种软件升级装置,包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以执行上述方法。An embodiment of the present application provides a software upgrade apparatus, including a memory and a processor, where the memory stores computer program instructions, and the processor executes the computer program instructions to execute the above method.
在所述软件升级装置的第一种可能的实现方式中,所述装置还包括收发器,用于接收策略包、升级包、升级失败消息或第二部件的信息,或者用于发送升级指示、升级失败通知等中的至少一项。In a first possible implementation manner of the software upgrade apparatus, the apparatus further includes a transceiver for receiving a policy package, an upgrade package, an upgrade failure message or information of the second component, or for sending an upgrade instruction, At least one of upgrade failure notification, etc.
上述软件升级装置可应用于包括但不限于智能网联车、机器人和智能家居等形式的终端设备。当应用于智能网联车时,所述软件升级装置可以是智能网联车本身,或者是智能网联车的一个部件,例如中央网关、车联网车端通信终端(Telematics BOX, T-box)、人机交互控制器(Human-Machine Interaction,HMI)、移动数据中心(Mobile Data Controller,MDC)、高级驾驶辅助系统(Advanced Driving Assistant System,ADAS)或电子控制单元(Electronic Control Unit,ECU),又或者是上述部件内的一个子装置,还可以是除了上述部件以外智能网联车内的一个独立的装置。The above software upgrading apparatus can be applied to terminal equipment in the form of, but not limited to, intelligent networked vehicles, robots, and smart homes. When applied to an ICV, the software upgrade device may be the ICV itself, or a component of the ICV, such as a central gateway, a telematics BOX (T-box) , Human-Machine Interaction (HMI), Mobile Data Controller (MDC), Advanced Driving Assistant System (ADAS) or Electronic Control Unit (ECU), Or it is a sub-device in the above-mentioned components, or it can be an independent device in the intelligent networked vehicle in addition to the above-mentioned components.
本申请的实施例提供了一种软件升级装置,包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以执行上述方法。Embodiments of the present application provide a software upgrade apparatus, including a memory and a processor, where the memory stores computer program instructions, and the processor executes the computer program instructions to execute the above method.
在所述软件升级装置的第一种可能的实现方式中,所述装置还包括收发器,用于接收第二部件的信息,或者用于发送升级包、策略包、升级失败消息等中的至少一项。In a first possible implementation manner of the software upgrade apparatus, the apparatus further includes a transceiver for receiving the information of the second component, or for sending at least one of an upgrade package, a policy package, an upgrade failure message, etc. one.
上述软件升级装置可应用于网络侧,例如以网络侧的一个服务器形式存在。The above-mentioned software upgrading apparatus can be applied to the network side, for example, exists in the form of a server on the network side.
本申请的实施例提供了一种终端软件升级系统,包括上述可应用于终端设备的软件升级装置以及上述可应用于网络侧的软件升级装置。Embodiments of the present application provide a terminal software upgrade system, including the above software upgrade apparatus applicable to a terminal device and the above software upgrade apparatus applicable to a network side.
本申请的实施例提供了一种计算机可读存储介质,包括计算机程序指令,当所述计算机指令在被处理器运行时,使得所述软件升级装置执行上述方法。Embodiments of the present application provide a computer-readable storage medium, including computer program instructions, which, when executed by a processor, cause the software upgrade apparatus to execute the above method.
本申请的实施例提供了一种电子设备,该电子设备中包括处理器,处理器被配置为支持该电子设备执行上述方法中相应的功能。该电子设备还可以包括存储器,存储器用于与处理器耦合,其保存该电子设备必要的程序指令和数据。该电子设备还可以包括通信接口,用于该电子设备与其他设备或通信网络通信。An embodiment of the present application provides an electronic device, the electronic device includes a processor, and the processor is configured to support the electronic device to perform corresponding functions in the above method. The electronic device may also include a memory for coupling with the processor that holds program instructions and data necessary for the electronic device. The electronic device may also include a communication interface for the electronic device to communicate with other devices or a communication network.
本申请的实施例提供了一种芯片系统,该芯片系统包括处理器,用于电子设备或服务器实现上述方法中所涉及的功能,例如,例如接收或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存电子设备或服务器必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。An embodiment of the present application provides a chip system, the chip system includes a processor, and is used for an electronic device or a server to implement the functions involved in the above method, for example, for example, receiving or processing the data involved in the above method and/or information. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the electronic device or server. The chip system may be composed of chips, or may include chips and other discrete devices.
在本申请实施例中,计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)、可擦式可编程只读存储器(Electrically Programmable Read-Only-Memory,EPROM或闪存)、静态随机存取存储器(Static Random-Access Memory,SRAM)、便携式压缩盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能盘(Digital Video Disc,DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。In embodiments of the present application, a computer-readable storage medium may be a tangible device that can hold and store instructions for use by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read-only memory (Electrically Programmable Read-Only-Memory, EPROM or flash memory), static random access memory (Static Random-Access Memory, SRAM), portable compact disk read-only memory (Compact Disc Read-Only Memory, CD - ROM), Digital Video Disc (DVD), memory sticks, floppy disks, mechanically encoded devices, such as punch cards or raised structures in grooves on which instructions are stored, and any suitable combination of the foregoing .
这里所描述的计算机可读程序指令或代码可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。Computer readable program instructions or code described herein may be downloaded to various computing/processing devices from a computer readable storage medium, or to an external computer or external storage device over a network such as the Internet, a local area network, a wide area network and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer-readable program instructions from a network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in each computing/processing device .
用于执行本申请操作的计算机程序指令可以是汇编指令、指令集架构(Instruction  Set Architecture,ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(Local Area Network,LAN)或广域网(Wide Area Network,WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或可编程逻辑阵列(Programmable Logic Array,PLA),该电子电路可以执行计算机可读程序指令,从而实现本申请的各个方面。Computer program instructions for carrying out the operations of the present application may be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or in one or more source or object code written in any combination of programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer readable program instructions 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 implement. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or, may be connected to an external computer (eg, use an internet service provider to connect via the internet). In some embodiments, electronic circuits, such as programmable logic circuits, Field-Programmable Gate Arrays (FPGA), or Programmable Logic Arrays (Programmable Logic Arrays), are personalized by utilizing state information of computer-readable program instructions. Logic Array, PLA), the electronic circuit can execute computer readable program instructions to implement various aspects of the present application.
这里参照根据本申请实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本申请的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。Aspects of the present application are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the present application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。These computer readable program instructions may be provided to the processor of a general purpose computer, special purpose computer or other programmable data processing apparatus to produce a machine that causes the instructions when executed by the processor of the computer or other programmable data processing apparatus , resulting in means for implementing the functions/acts specified in one or more blocks of the flowchart and/or block diagrams. These computer readable program instructions can also be stored in a computer readable storage medium, these instructions cause a computer, programmable data processing apparatus and/or other equipment to operate in a specific manner, so that the computer readable medium on which the instructions are stored includes An article of manufacture comprising instructions for implementing various aspects of the functions/acts specified in one or more blocks of the flowchart and/or block diagrams.
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。Computer readable program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other equipment to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executing on a computer, other programmable data processing apparatus, or other device to implement the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
附图中的流程图和框图显示了根据本申请的多个实施例的装置、系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks 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.
也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行相应的功能或动作的硬件(例如电路或ASIC(Application Specific Integrated Circuit,专用集成电路))来实现,或者可以用硬件和软件的组合,如固件等来实现。It is also noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in hardware (eg, circuits or ASICs (Application) that perform the corresponding functions or actions. Specific Integrated Circuit, application-specific integrated circuit)), or can be implemented by a combination of hardware and software, such as firmware.
尽管在此结合各实施例对本发明进行了描述,然而,在实施所要求保护的本发明 过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其它变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其它单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。While the invention has been described herein in connection with various embodiments, those skilled in the art will understand and understand from a review of the drawings, the disclosure, and the appended claims in practicing the claimed invention. Other variations of the disclosed embodiments are implemented. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that these measures cannot be combined to advantage.
以上已经描述了本申请的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。Various embodiments of the present application have been described above, and the foregoing descriptions are exemplary, not exhaustive, and not limiting of the disclosed embodiments. Numerous modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the various embodiments, the practical application or improvement over the technology in the marketplace, or to enable others of ordinary skill in the art to understand the various embodiments disclosed herein.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims (13)

  1. 一种基于空中下载技术OTA的升级方法,其特征在于,所述方法包括:An upgrade method based on over-the-air technology OTA, characterized in that the method comprises:
    获取与第一部件关联的第二部件的信息;obtain information about the second part associated with the first part;
    根据所述第二部件的信息确定所述第二部件是否满足第一条件,所述第一条件为升级所述第一部件时,所述第二部件需要满足的条件;Determine whether the second component satisfies a first condition according to the information of the second component, where the first condition is a condition that the second component needs to meet when the first component is upgraded;
    在所述第二部件满足所述第一条件的情况下,通过所述OTA升级所述第一部件。If the second component satisfies the first condition, the first component is upgraded through the OTA.
  2. 根据权利要求1所述的方法,其特征在于,所述第一条件为在升级所述第一部件时,所述第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。The method according to claim 1, wherein the first condition is that when the first component is upgraded, the information of the second component satisfies the second component required when the first component is upgraded The matching range of the information.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。The method according to claim 1 or 2, wherein the information of the second component is at least one of hardware information, software information and firmware information.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    在所述第二部件的信息中的软件信息和/或固件信息不满足所述第一条件的情况下,则升级所述第二部件以使所述第二部件满足所述第一条件。If the software information and/or firmware information in the information of the second component does not satisfy the first condition, the second component is upgraded so that the second component satisfies the first condition.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-4, wherein the method further comprises:
    在所述第二部件的信息中的硬件信息不满足所述第一条件的情况下,则通知车端升级失败。In the case that the hardware information in the information of the second component does not satisfy the first condition, the vehicle end is notified that the upgrade fails.
  6. 一种基于空中下载技术OTA的升级装置,其特征在于,所述装置包括:An upgrade device based on an over-the-air download technology OTA, characterized in that the device comprises:
    获取模块,用于获取与第一部件关联的第二部件的信息;an acquisition module for acquiring the information of the second part associated with the first part;
    确定模块,用于根据所述获取模块获取的第二部件的信息确定所述第二部件是否满足第一条件,所述第一条件为升级所述第一部件时,所述第二部件需要满足的条件;a determining module, configured to determine whether the second part satisfies a first condition according to the information of the second part acquired by the acquiring module, and the first condition is that when the first part is upgraded, the second part needs to satisfy conditions of;
    第一升级模块,用于在所述确定模块确定第二部件满足所述第一条件的情况下,通过所述OTA升级所述第一部件。A first upgrade module, configured to upgrade the first part through the OTA when the determination module determines that the second part satisfies the first condition.
  7. 根据权利要求6所述的装置,其特征在于,所述第一条件为在升级所述第一部件时,所述第二部件的信息满足于所述第一部件升级时所需的第二部件的信息的匹配范围。The device according to claim 6, wherein the first condition is that when the first component is upgraded, the information of the second component satisfies the second component required when the first component is upgraded The matching range of the information.
  8. 根据权利要求6或7所述的装置,其特征在于,所述第二部件的信息为硬件信息、软件信息和固件信息中的至少一项。The apparatus according to claim 6 or 7, wherein the information of the second component is at least one of hardware information, software information and firmware information.
  9. 根据权利要求6-8任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-8, wherein the device further comprises:
    第二升级模块,用于在所述第二部件的信息中的软件信息和/或固件信息不满足所述第一条件的情况下,升级所述第二部件以使所述第二部件满足所述第一条件。A second upgrade module, configured to upgrade the second component so that the second component satisfies all conditions when the software information and/or firmware information in the information of the second component does not satisfy the first condition. the first condition.
  10. 根据权利要求6-9任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 6-9, wherein the device further comprises:
    通知模块,用于在所述第二部件的信息中的硬件信息不满足所述第一条件的情况下,通知车端升级失败。The notification module is configured to notify the vehicle-end upgrade failure when the hardware information in the information of the second component does not meet the first condition.
  11. 一种电子设备,其特征在于,包括:An electronic device, comprising:
    处理器;processor;
    用于存储所述处理器可执行指令的存储器;memory for storing instructions executable by the processor;
    其中,所述处理器被配置为执行所述指令时实现权利要求1至5中任意一项所述的方法。wherein the processor is configured to implement the method of any one of claims 1 to 5 when executing the instructions.
  12. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至5中任意一项所述的方法。A computer-readable storage medium on which computer program instructions are stored, characterized in that, when the computer program instructions are executed by a processor, the method described in any one of claims 1 to 5 is implemented.
  13. 一种计算机程序产品,其特征在于,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时实现权利要求1至5中任意一项所述的方法。A computer program product, characterized by comprising computer-readable codes, or a non-volatile computer-readable storage medium carrying computer-readable codes, when the computer-readable codes are executed in a processor of an electronic device A method as claimed in any one of claims 1 to 5 is implemented.
PCT/CN2021/075287 2021-02-04 2021-02-04 Upgrading method and apparatus based on over-the-air (ota) technology WO2022165711A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/075287 WO2022165711A1 (en) 2021-02-04 2021-02-04 Upgrading method and apparatus based on over-the-air (ota) technology
CN202180000380.7A CN112913190A (en) 2021-02-04 2021-02-04 Upgrading method and device based on over-the-air technology OTA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/075287 WO2022165711A1 (en) 2021-02-04 2021-02-04 Upgrading method and apparatus based on over-the-air (ota) technology

Publications (1)

Publication Number Publication Date
WO2022165711A1 true WO2022165711A1 (en) 2022-08-11

Family

ID=76109011

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/075287 WO2022165711A1 (en) 2021-02-04 2021-02-04 Upgrading method and apparatus based on over-the-air (ota) technology

Country Status (2)

Country Link
CN (1) CN112913190A (en)
WO (1) WO2022165711A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775083A (en) * 2023-08-21 2023-09-19 小米汽车科技有限公司 Brushing method and device of vehicle-mounted controller and electronic equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377404B (en) * 2021-06-29 2023-07-18 深蓝汽车科技有限公司 New energy vehicle domain controller safety monitoring chip program updating method and system
CN113783950A (en) * 2021-08-27 2021-12-10 南斗六星系统集成有限公司 Edge distributed OTA (over the air) upgrading system and method
CN115220754B (en) * 2022-05-30 2023-11-10 广州汽车集团股份有限公司 Method and device for activating vehicle end function

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011022979A1 (en) * 2009-08-24 2011-03-03 中兴通讯股份有限公司 Mobile terminal software upgrade method, system, mobile terminal and server thereof
CN110147242A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal
CN110377311A (en) * 2019-07-19 2019-10-25 上海擎感智能科技有限公司 OTA terminal staging method, system, medium and OTA terminal based on software dependence
CN111414185A (en) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 Terminal upgrading method and device, terminal and storage medium
CN112256285A (en) * 2020-10-16 2021-01-22 宝能(广州)汽车研究院有限公司 OTA (over the air) upgrading method of vehicle, computer-readable storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445621A (en) * 2016-10-31 2017-02-22 乐视控股(北京)有限公司 Upgrading method and device of application and electronic device
CN108182077B (en) * 2018-01-29 2022-03-01 广东美的制冷设备有限公司 Device, firmware upgrading method and device of device and storage medium
CN109445810A (en) * 2018-09-07 2019-03-08 百度在线网络技术(北京)有限公司 Information upgrade method, device and the storage medium of automatic driving vehicle
CN112015489A (en) * 2020-09-18 2020-12-01 华人运通(江苏)技术有限公司 Management method, device, storage medium and system for vehicle-mounted software

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011022979A1 (en) * 2009-08-24 2011-03-03 中兴通讯股份有限公司 Mobile terminal software upgrade method, system, mobile terminal and server thereof
CN110147242A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Upgrading in the downloading of space relies on inspection method and device, storage medium and terminal
CN110377311A (en) * 2019-07-19 2019-10-25 上海擎感智能科技有限公司 OTA terminal staging method, system, medium and OTA terminal based on software dependence
CN111414185A (en) * 2020-02-28 2020-07-14 浙江吉利新能源商用车集团有限公司 Terminal upgrading method and device, terminal and storage medium
CN112256285A (en) * 2020-10-16 2021-01-22 宝能(广州)汽车研究院有限公司 OTA (over the air) upgrading method of vehicle, computer-readable storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116775083A (en) * 2023-08-21 2023-09-19 小米汽车科技有限公司 Brushing method and device of vehicle-mounted controller and electronic equipment
CN116775083B (en) * 2023-08-21 2023-11-21 小米汽车科技有限公司 Brushing method and device of vehicle-mounted controller and electronic equipment

Also Published As

Publication number Publication date
CN112913190A (en) 2021-06-04

Similar Documents

Publication Publication Date Title
WO2022165711A1 (en) Upgrading method and apparatus based on over-the-air (ota) technology
JP7139424B2 (en) Vehicle-mounted equipment upgrade method and related equipment
US9436456B2 (en) System and method for management of software updates at a vehicle computing system
US20210051000A1 (en) Vehicle-mounted device upgrade method and related device
EP3352079B1 (en) Gateway device, vehicle-mounted network system, and firmware update method
US20230289174A1 (en) Vehicle upgrade method and apparatus
US10140109B2 (en) Silent in-vehicle software updates
US20190057214A1 (en) Update control device, terminal, and method of controlling
US20220326938A1 (en) Upgrade method and apparatus
US10785088B2 (en) Management method and management apparatus of internet of things and internet of things system
US11914987B2 (en) Master update agent and distributed update agent architecture for vehicles
EP4044024A1 (en) Software upgrade method, apparatus and system
EP3534257B1 (en) System for updating software in moving body using vehicle-mounted gateway
US20150195669A1 (en) Method and system for a head unit to receive an application
EP4113287B1 (en) Gateway device, in-vehicle network system, and firmware update method
CN110276194B (en) Information processing method, information processing apparatus, and electronic device
US11909845B2 (en) Methods and systems for managing applications of a multi-access edge computing environment
US20160352886A1 (en) Methods and Systems for a Vehicle Computing System to Launch an Application
US20150193093A1 (en) Method and system for a head unit application host
CN113824795A (en) Communication method, device and system of vehicle end and cloud end
CN112015489A (en) Management method, device, storage medium and system for vehicle-mounted software
US9846640B2 (en) System and method for retrieving wireless access point credentials from a BIOS NVRAM
CN112667301A (en) Docking station implementation method and system of vehicle-mounted operating system and electronic equipment
US20230007460A1 (en) Method and system for segmenting and transmiting data between computing devices and vehicle head units
CN114979144B (en) Cloud edge communication method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21923736

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21923736

Country of ref document: EP

Kind code of ref document: A1