CN114793227B - Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium - Google Patents

Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN114793227B
CN114793227B CN202210715387.3A CN202210715387A CN114793227B CN 114793227 B CN114793227 B CN 114793227B CN 202210715387 A CN202210715387 A CN 202210715387A CN 114793227 B CN114793227 B CN 114793227B
Authority
CN
China
Prior art keywords
vehicle
target
controller
transmission data
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210715387.3A
Other languages
Chinese (zh)
Other versions
CN114793227A (en
Inventor
夏欢
尚军辉
尚军刚
马在朋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo Co Ltd
Original Assignee
Zhejiang Geely Holding Group Co Ltd
Geely Automobile Research Institute Ningbo Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Geely Holding Group Co Ltd, Geely Automobile Research Institute Ningbo Co Ltd filed Critical Zhejiang Geely Holding Group Co Ltd
Priority to CN202210715387.3A priority Critical patent/CN114793227B/en
Publication of CN114793227A publication Critical patent/CN114793227A/en
Application granted granted Critical
Publication of CN114793227B publication Critical patent/CN114793227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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
    • 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/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a vehicle-mounted software downloading method, electronic equipment and a computer-readable storage medium, which are applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, and the vehicle-mounted software downloading method comprises the following steps: receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller; forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier; and controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into a controller memory of the target controller. The technical problem that the vehicle-mounted software upgrading and installing efficiency is low is solved.

Description

Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method for downloading vehicle-mounted software, an electronic device, and a computer-readable storage medium.
Background
When the vehicle control is in software upgrading, a software package of a vehicle controller on an OTA (Over-the-Air Technology) server is generally downloaded by a mobile intelligent terminal, then the software package is stored in a memory card of a vehicle gateway, further when the vehicle software is installed, the vehicle gateway decompresses the software package, and transmits the decompressed software package to a corresponding vehicle controller for installation, but if the data magnitude of the software package is large, the time spent on the whole data transmission process of the software package from the OTA server to the corresponding vehicle controller is too long, so that the vehicle software upgrading installation time is too long, and the vehicle software upgrading installation efficiency is too low.
Disclosure of Invention
The application mainly aims to provide a vehicle-mounted software downloading method, electronic equipment and a computer readable storage medium, and aims to solve the technical problem of low vehicle-mounted software upgrading and installing efficiency.
In order to achieve the above object, the present application provides a method for downloading vehicle-mounted software, which is applied to a target vehicle, where the target vehicle includes a target controller, a vehicle-mounted gateway, and a vehicle-mounted communication module, and the method for downloading vehicle-mounted software includes:
receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller;
forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier;
and controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into a controller memory of the target controller.
Optionally, the step of downloading the target vehicle-mounted software package on the OTA server to the controller memory of the target controller by controlling the target controller to access the OTA server according to the server address includes:
acquiring a controller memory address corresponding to the controller memory;
generating a vehicle-mounted software downloading request through the target controller according to the server address, the controller memory address and the controller identifier;
controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein each original transmission data packet is obtained by encapsulating the controller identifier, the target vehicle-mounted software packet and the controller memory address;
and sequentially receiving the original transmission data packets through the vehicle-mounted communication module, and downloading the target vehicle-mounted software packet to the controller memory.
Optionally, the target vehicle-mounted software package at least includes one target transmission data package, the controller memory at least includes a memory block corresponding to the target transmission data package, the step of sequentially receiving, by the vehicle-mounted communication module, each original transmission data package, and downloading the target vehicle-mounted software package to the controller memory includes:
receiving an original transmission data packet issued by the OTA server through the vehicle-mounted communication module, and transmitting the original transmission data packet to the vehicle-mounted gateway;
and forwarding a target transmission data packet in the original transmission data packet to the target controller through the vehicle-mounted gateway, and storing the target transmission data packet into a corresponding memory block until all target transmission data packets are stored into the controller memory.
Optionally, the step of forwarding, by the vehicle-mounted gateway, a target transmission packet in the original transmission packets to the target controller includes:
analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address;
and storing the target transmission data packet into the memory block corresponding to the memory block address according to the controller identifier and the memory block address.
Optionally, after the step of controlling the target controller to access the OTA server according to the server address to download the target vehicle-mounted software package on the OTA server into the controller memory of the target controller, the vehicle-mounted software downloading method further includes:
decompressing the target vehicle-mounted software package to obtain decompressed data;
and installing target vehicle-mounted software corresponding to the target vehicle-mounted software package according to the decompressed data.
In order to achieve the above object, the present application further provides a vehicle-mounted software downloading method, which is applied to an OTA server, and the vehicle-mounted software downloading method includes:
acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle;
generating server address information according to the controller identification and the server address of the OTA server;
and sending the server address information to the target vehicle according to the vehicle identification so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
Optionally, the step of sending the server address information to the target vehicle according to the vehicle identifier, so that a target controller in the target vehicle downloads a target vehicle-mounted software package in the OTA server according to the server address information includes:
according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle can generate a vehicle-mounted software downloading request according to the server address information;
receiving a vehicle-mounted software downloading request sent by the target vehicle, and acquiring a controller memory address in the vehicle-mounted software downloading request;
acquiring a target vehicle-mounted software package corresponding to the target vehicle, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package;
and sequentially sending each original transmission data packet to the target vehicle so that the target vehicle can download the target vehicle-mounted software packet to the controller memory corresponding to the controller memory address according to each original transmission data packet.
Optionally, the controller memory address at least includes a memory block address, and the step of encapsulating the controller identifier, the target onboard software package, and the controller memory address into at least one original transmission data package includes:
segmenting the target vehicle-mounted software package to obtain each target transmission data package, and matching corresponding memory block addresses for each target transmission data package;
and respectively encapsulating each target transmission data packet, the corresponding memory block address and the corresponding controller identifier to obtain each original transmission data packet.
The application also provides a vehicle-mounted software downloading device, which is applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, and the vehicle-mounted software downloading device comprises:
the receiving module is used for receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller;
the forwarding module is used for forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier;
and the control module is used for controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into the controller memory of the target controller.
Optionally, the control module is further configured to:
acquiring a controller memory address corresponding to the controller memory;
generating a vehicle-mounted software downloading request through the target controller according to the server address, the controller memory address and the controller identifier;
controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein each original transmission data packet is obtained by encapsulating the controller identifier, the target vehicle-mounted software packet and the controller memory address;
and sequentially receiving each original transmission data packet through the vehicle-mounted communication module, and downloading the target vehicle-mounted software packet to the controller memory.
Optionally, the target vehicle-mounted software package at least includes one target transmission data package, the controller memory at least includes a memory block corresponding to the target transmission data package, and the control module is further configured to:
receiving an original transmission data packet issued by the OTA server through the vehicle-mounted communication module, and transmitting the original transmission data packet to the vehicle-mounted gateway;
and forwarding a target transmission data packet in the original transmission data packet to the target controller through the vehicle-mounted gateway, and storing the target transmission data packet into a corresponding memory block until all target transmission data packets are stored into the controller memory.
Optionally, the control module is further configured to:
analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address;
and storing the target transmission data packet into the memory block corresponding to the memory block address according to the controller identifier and the memory block address.
Optionally, the in-vehicle software downloading device is further configured to:
decompressing the target vehicle-mounted software package to obtain decompressed data;
and installing target vehicle-mounted software corresponding to the target vehicle-mounted software package according to the decompressed data.
The application also provides a vehicle-mounted software downloading device, is applied to the OTA server, vehicle-mounted software downloading device includes:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle;
the generating module is used for generating server address information according to the controller identifier and the server address of the OTA server;
and the sending module is used for sending the server address information to the target vehicle according to the vehicle identification so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
Optionally, the sending module is further configured to:
according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle can generate a vehicle-mounted software downloading request according to the server address information;
receiving a vehicle-mounted software downloading request sent by the target vehicle, and acquiring a controller memory address in the vehicle-mounted software downloading request;
acquiring a target vehicle-mounted software package corresponding to the target vehicle, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package;
and sequentially sending each original transmission data packet to the target vehicle so that the target vehicle can download the target vehicle-mounted software packet to the controller memory corresponding to the controller memory address according to each original transmission data packet.
Optionally, the memory address of the controller at least includes a memory block address, and the sending module is further configured to:
segmenting the target vehicle-mounted software package to obtain each target transmission data package, and matching corresponding memory block addresses for each target transmission data package;
and respectively encapsulating each target transmission data packet, the corresponding memory block address and the corresponding controller identifier to obtain each original transmission data packet.
The present application further provides an electronic device, the electronic device is an entity device, the electronic device includes: the software downloading method comprises the steps of the vehicle-mounted software downloading method and can be realized when the program of the vehicle-mounted software downloading method is executed by the processor.
The present application also provides a computer-readable storage medium having stored thereon a program for implementing the in-vehicle software downloading method, which when executed by a processor, implements the steps of the in-vehicle software downloading method as described above.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the in-vehicle software downloading method as described above.
The application provides a vehicle-mounted software downloading method, electronic equipment and a computer readable storage medium, which are applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, the vehicle-mounted communication module is used for receiving server address information issued by an OTA server, the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller, and according to the controller identifier, the server address is forwarded to the target controller through the vehicle-mounted gateway and then is controlled according to the server address, the target controller directly accesses the OTA server to download a target vehicle-mounted software package on the OTA server into a controller memory of the target controller, so that when vehicle-mounted software is required to be upgraded, the target vehicle-mounted software package is only required to be decompressed in the target controller, the software package is not required to be decompressed by the vehicle-mounted gateway, and the software package is transmitted to the controller and then is installed, and therefore, the data transmission process between the vehicle-mounted gateway and the controller during the upgrade of the vehicle-mounted software is reduced, and the upgrade cost of the vehicle-mounted software is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flowchart of a first embodiment of a method for downloading vehicle-mounted software according to the present application;
FIG. 2 is a flowchart illustrating a second embodiment of a method for downloading vehicle software according to the present application;
fig. 3 is a schematic device structure diagram of a hardware operating environment related to a vehicle-mounted software downloading method in the embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments of the present application are described in detail below with reference to the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
An embodiment of the present application provides a method for downloading vehicle-mounted software, which is applied to a target vehicle, where the target vehicle includes a target controller, a vehicle-mounted gateway, and a vehicle-mounted communication module, and in an embodiment of the method for downloading vehicle-mounted software, referring to fig. 1, the method for downloading vehicle-mounted software includes:
step S10, receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller;
step S20, forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier;
and step S30, controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into a controller memory of the target controller.
In this embodiment, it should be noted that the target vehicle includes a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, where the target controller is a vehicle controller that needs software upgrade, the vehicle controller may be an infotainment controller corresponding to a vehicle entertainment function and is used to provide content control strategies such as news, video, music, and the like for a user, the vehicle-mounted gateway is a transfer station of vehicle-mounted network communication, for example, a VGM gateway, and the vehicle-mounted communication module is a module that communicates between a vehicle and the outside, for example, a TCAM (ternary content addressable memory) smart terminal controller, and an SIM (Subscriber identity module) card and an internet module are integrated in the TCAM smart terminal controller, so that the vehicle can implement an internet function like a mobile phone.
As an example, steps S10 to S30 include: receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information is obtained by packaging a controller identifier corresponding to the target controller and a server address of the OTA server by the OTA server, the server address can be an IP (Internet Protocol) address and a port number of the OTA server, and the controller identifier is an identity identifier of the target controller; sending the server address information to a vehicle-mounted gateway through the vehicle-mounted communication module, and analyzing the server address information through the vehicle-mounted gateway to obtain a controller identifier and a server address; sending the server address to a target server corresponding to the controller identifier through the vehicle-mounted gateway; and controlling the target controller to send a vehicle-mounted software downloading request to the OTA server according to the server address so as to directly download the target vehicle-mounted software package on the OTA server into a controller memory of the target controller.
The step of downloading the target vehicle-mounted software package on the OTA server to the controller memory of the target controller by controlling the target controller to access the OTA server according to the server address comprises the following steps:
step S31, obtaining a controller memory address corresponding to the controller memory;
step S32, generating a vehicle-mounted software downloading request through the target controller according to the server address, the controller memory address and the controller identifier;
step S33, controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein each original transmission data packet is obtained by encapsulating the controller identifier, the target vehicle-mounted software packet and the controller memory address;
and step S34, sequentially receiving the original transmission data packets through the vehicle-mounted communication module, and downloading the target vehicle-mounted software packet to the controller memory.
In this embodiment, the server address information further includes a software package size corresponding to the target vehicle-mounted software package, where the software package size may be a memory size required for storing the target vehicle-mounted software package, and the vehicle-mounted gateway may obtain the software package size, the controller identifier, and the server address by analyzing the server address information.
As an example, steps S31 to S34 include: dividing a controller memory with corresponding size in the target controller according to the size of the software package obtained by analyzing the vehicle-mounted gateway, and acquiring a controller memory address corresponding to the controller memory; packaging the server address, the controller memory address and the controller identifier together into a vehicle-mounted software downloading request through the target controller; controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein the original transmission data packet is obtained by encapsulating the controller identifier, a target transmission data packet and a memory block address corresponding to the target transmission data packet, the target transmission data packet is obtained by segmenting the target vehicle-mounted software packet by the OTA server, and the memory address of the controller at least comprises a memory block address; and sequentially receiving each original transmission data packet through the vehicle-mounted communication module, and downloading a target vehicle-mounted software packet which is commonly encapsulated in each original transmission data to a controller memory corresponding to the controller memory address.
The step of sequentially receiving each original transmission data packet through the vehicle-mounted communication module and downloading the target vehicle-mounted software packet to the controller memory comprises:
step S341, receiving an original transmission data packet issued by the OTA server through the vehicle-mounted communication module, and transmitting the original transmission data packet to the vehicle-mounted gateway;
step S342, forwarding the target transmission data packet in the original transmission data packet to the target controller through the vehicle-mounted gateway, and storing the target transmission data packet in the corresponding memory block until all the target transmission data packets are stored in the controller memory.
In this embodiment, it should be noted that the memory address of the controller at least includes a memory block address, and because the target vehicle-mounted software package is large, the OTA server may segment the target vehicle-mounted software package into a plurality of target transmission data packages for transmission in sequence, match the corresponding memory block address for each target transmission data package, and package the target transmission data package, the memory block address corresponding to the target transmission data package, and the controller identifier into the corresponding original transmission data package.
As an example, steps S341 to S342 include: sequentially receiving original transmission data packets sent by the OTA server through the vehicle-mounted communication module, and sequentially transmitting the sequentially received original transmission data packets to the vehicle-mounted gateway; and sequentially forwarding target transmission data packets in the sequentially received original transmission data packets to the corresponding memory blocks in the target controller through the vehicle-mounted gateway for storage until all the target transmission data packets are stored in the controller memory. It should be noted that, because the data transmission process of each original transmission data packet is pipeline operation, the number of original transmission data packets in the cache of the vehicle-mounted gateway at the same time is not large, and thus the original transmission data packets do not occupy too much cache of the vehicle-mounted gateway, and also do not occupy too much memory of the vehicle-mounted gateway.
Wherein the step of forwarding a target transmission data packet in the original transmission data packets to the target controller through the vehicle-mounted gateway comprises:
step A10, analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address;
step a20, according to the controller identifier and the memory block address, storing the target transmission data packet in the memory block corresponding to the memory block address.
As an example, steps a10 to a20 include: analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address in the original transmission data packet; and determining a target memory block according to the controller identifier and the memory block address, and sending the target transmission data packet to the target memory block for storage.
After the step of controlling the target controller to access the OTA server according to the server address to download the target vehicle-mounted software package on the OTA server into the controller memory of the target controller, the vehicle-mounted software downloading method further includes:
s40, decompressing the target vehicle-mounted software package to obtain decompressed data;
and S50, installing the target vehicle-mounted software corresponding to the target vehicle-mounted software package according to the decompressed data.
In this embodiment, it should be noted that, when the vehicle-mounted software is upgraded and installed, a user generally cannot use a vehicle, and if the time spent for upgrading and installing the vehicle-mounted software package is too long, inconvenience will be brought to the user to use the vehicle, and user experience will be affected.
As an example, steps S40 to S50 include: decompressing the target vehicle-mounted software package in the target controller after receiving a software installation instruction to obtain decompressed data; and installing target vehicle-mounted software corresponding to the target vehicle-mounted software package in the target controller according to the decompressed data. The embodiment of the application realizes the purpose of decompressing and installing the vehicle-mounted software package in the vehicle controller, and compared with the mode of decompressing the vehicle-mounted software package by the vehicle-mounted gateway and then sending the decompressed vehicle-mounted software package to the corresponding vehicle controller for installation, the data transmission process between the vehicle-mounted gateway and the vehicle controller is reduced in the vehicle-mounted software upgrading and installing process, so that the time spent in the vehicle-mounted software upgrading and installing process is greatly reduced, the convenience of using a vehicle by a user is improved, and the user experience is better.
Further, for the entertainment information controller, the vehicle-mounted software package is usually large, and the memory of the vehicle-mounted gateway is usually much smaller than the memory of the entertainment information controller, so if the vehicle-mounted software package is decompressed in the memory of the vehicle-mounted gateway, the vehicle-mounted gateway occupies too much memory, which may cause the too high memory occupancy of the vehicle-mounted gateway, and affect the use of the vehicle-mounted gateway.
The embodiment of the application provides a vehicle-mounted software downloading method, which is applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, the vehicle-mounted communication module is used for receiving server address information issued by an OTA server, the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller, the server address is forwarded to the target controller through the vehicle-mounted gateway according to the controller identifier, and then the OTA server is controlled according to the server address, so that the target vehicle-mounted software package on the OTA server is downloaded into a controller memory of the target controller, and when vehicle-mounted software is required to be upgraded and installed, the target vehicle-mounted software package is only required to be decompressed inside the target controller, the vehicle-mounted gateway software package is not required to be decompressed, and the software package is transmitted to the controller and then installed, so that the data transmission process between the vehicle-mounted gateway and the controller during upgrading and installation is reduced, and the upgrading installation efficiency of vehicle-mounted software is improved.
Further, referring to fig. 2, in another embodiment of the present application, an embodiment of the present application further provides a vehicle-mounted software downloading method, which is applied to an OTA server, and the same or similar contents to the above embodiment may be referred to the above description, and are not repeated in the following description, where the vehicle-mounted software downloading method includes:
step B10, acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle;
step B20, generating server address information according to the controller identifier and the server address of the OTA server;
and step B30, according to the vehicle identification, the server address information is sent to the target vehicle, so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
As an example, steps B10 to B30 include: after the uploaded vehicle-mounted software package is received, determining a target vehicle and a target controller in the target vehicle in each registered vehicle by comparing software version information corresponding to the vehicle-mounted software package with software version information of each registered vehicle; acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to the target controller; encapsulating the controller identifier and the server address of the OTA server to obtain server address information; and according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle receives the server address information through a vehicle-mounted communication module, the server address information is forwarded to a vehicle-mounted gateway, the server address information is analyzed through the vehicle-mounted gateway, a controller identification and a server address are obtained, the server address is forwarded to a target controller corresponding to the controller identification, and the target vehicle controls the target controller to access the OTA server according to the server address so as to download a target vehicle-mounted software package on the OTA server into a controller memory of the target controller.
In another embodiment, the server address information may be obtained by encapsulating the software package size, the server address and the controller identifier corresponding to the target vehicle-mounted software package.
As an example, steps B10 to B30 include: after the uploaded vehicle-mounted software package is received, determining a target vehicle and a target controller in the target vehicle in each registered vehicle by comparing software version information corresponding to the vehicle-mounted software package with software version information of each registered vehicle; acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller; encapsulating the controller identifier and the server address of the OTA server to obtain server address information; and sending the server address information to the target vehicle according to the vehicle identification so that the target vehicle receives the server address information through a vehicle-mounted communication module and forwards the server address information to a vehicle-mounted gateway, analyzing the server address information through the vehicle-mounted gateway to obtain a controller identification, a server address and a software package size, and forwarding the server address and the software package size to a target controller corresponding to the controller identification, wherein the target vehicle divides a controller memory with a corresponding size in a memory of the target controller according to the software package size, and directly accesses the OTA server through controlling the target controller according to the server address so as to download the target vehicle-mounted software package on the OTA server to the controller memory of the target controller.
The step of sending the server address information to the target vehicle according to the vehicle identifier so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information comprises the following steps:
step B31, according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle can generate a vehicle-mounted software downloading request according to the server address information;
step B32, receiving a vehicle-mounted software downloading request sent by the target vehicle, and acquiring a controller memory address in the vehicle-mounted software downloading request;
step B33, acquiring a target vehicle-mounted software package corresponding to the target vehicle, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package;
and step B34, sequentially sending each original transmission data packet to the target vehicle, so that the target vehicle downloads the target vehicle-mounted software packet to a controller memory corresponding to the controller memory address according to each original transmission data packet.
As an example, steps B31 to B34 include: according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle receives the server address information through a vehicle-mounted communication module and forwards the server address information to a vehicle-mounted gateway, the server address information is analyzed through the vehicle-mounted gateway to obtain a controller identification and a server address, the server address is forwarded to a target controller corresponding to the controller identification, the target vehicle obtains a controller memory address corresponding to a controller memory, the server address, the controller memory address and the controller identification are packaged into a vehicle-mounted software downloading request through the target controller, and the vehicle-mounted software downloading request is sent to the OTA server through the vehicle-mounted gateway and a vehicle-mounted communication module; the OTA server receives a vehicle-mounted software downloading request sent by the target vehicle and analyzes the vehicle-mounted software downloading request to obtain a controller memory address and a controller identifier; acquiring a target vehicle-mounted software package corresponding to the controller identifier, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package; sequentially sending each original transmission data packet to the target vehicle so that the target vehicle sequentially receives the original transmission data packets sent by the OTA server through the vehicle-mounted communication module and sequentially transmits each sequentially received original transmission data packet to the vehicle-mounted gateway; and sequentially forwarding target transmission data packets in the sequentially received original transmission data packets to the corresponding memory blocks in the target controller through the vehicle-mounted gateway for storage until all the target transmission data packets are stored in the controller memory. The controller memory may be a memory in a target controller of a size agreed in advance by a target vehicle and an OTA server, or a memory in the target controller of a specific size determined according to a software package size of a target vehicle-mounted software package, and the software package size may be encapsulated in the server address information, so that a vehicle-mounted gateway of the target vehicle analyzes the server address information to obtain the software package size, the server address and a controller identifier, and forwards the software package size and the server address to the target controller together according to the controller identifier, so that the target controller may divide a memory of a corresponding size as the controller memory in an idle memory of the target controller according to the software package size.
Wherein the controller memory address at least comprises a memory block address, and the step of encapsulating the controller identifier, the target vehicle software package and the controller memory address into at least one original transmission data package comprises:
step B51, segmenting the target vehicle-mounted software package to obtain each target transmission data package, and matching corresponding memory block addresses for each target transmission data package;
step B52, encapsulating each target transmission data packet, the corresponding memory block address and the corresponding controller identifier respectively to obtain each original transmission data packet.
In this embodiment, it should be noted that, since the target on-board software package is generally large, the target on-board software package generally needs to be divided into a plurality of small data packets for transmission.
As an example, steps B51 to B52 include: the target vehicle-mounted software package is divided into target transmission data packages, and corresponding memory block addresses are matched for the target transmission data packages respectively; and respectively encapsulating each target transmission data packet, the memory block address corresponding to each target transmission data packet and the corresponding controller identifier to obtain an original transmission data packet corresponding to each target transmission data packet. For example, suppose there are three target transmission data packets a, B and C, where a corresponds to a memory block address a, B corresponds to B, C corresponds to C, a corresponds to controller id X, B corresponds to controller id Y, the controller corresponding to C is marked as Z, so that encapsulating a, a and X results in the original transmission data packet (a, X), encapsulating B, B and Y results in the original transmission data packet (B, Y), and encapsulating C, C and Z results in the original transmission data packet (C, Z).
The embodiment of the application provides a method for downloading vehicle-mounted software, which comprises the steps of firstly, obtaining a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle; generating server address information according to the controller identifier and the server address of the OTA server; according to the vehicle identification, the server address information is sent to the target vehicle so that a target controller in the target vehicle can download a target vehicle-mounted software package at the OTA server according to the server address information, and therefore when the vehicle-mounted software needs to be upgraded and installed, the target vehicle-mounted software package only needs to be decompressed inside the target controller, the software package does not need to be decompressed by a vehicle-mounted gateway, the software package is installed after being transmitted to a controller, the data transmission process between the vehicle-mounted gateway and the controller during the vehicle-mounted software upgrading and installation is reduced, the time spent on the vehicle-mounted software upgrading and installation is shortened, and the vehicle-mounted software upgrading and installation efficiency is improved.
The embodiment of the present application further provides a vehicle-mounted software downloading device, which is applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, and the vehicle-mounted software downloading device comprises:
the receiving module is used for receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller;
the forwarding module is used for forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier;
and the control module is used for controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into the controller memory of the target controller.
Optionally, the control module is further configured to:
acquiring a controller memory address corresponding to the controller memory;
generating a vehicle-mounted software downloading request through the target controller according to the server address, the controller memory address and the controller identifier;
controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein each original transmission data packet is obtained by encapsulating the controller identifier, the target vehicle-mounted software packet and the controller memory address;
and sequentially receiving each original transmission data packet through the vehicle-mounted communication module, and downloading the target vehicle-mounted software packet to the controller memory.
Optionally, the target vehicle-mounted software package at least includes one target transmission data package, the controller memory at least includes a memory block corresponding to the target transmission data package, and the control module is further configured to:
receiving an original transmission data packet issued by the OTA server through the vehicle-mounted communication module, and transmitting the original transmission data packet to the vehicle-mounted gateway;
and forwarding a target transmission data packet in the original transmission data packet to the target controller through the vehicle-mounted gateway, and storing the target transmission data packet into a corresponding memory block until all target transmission data packets are stored into the controller memory.
Optionally, the control module is further configured to:
analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address;
and storing the target transmission data packet into the memory block corresponding to the memory block address according to the controller identifier and the memory block address.
Optionally, the in-vehicle software downloading device is further configured to:
decompressing the target vehicle-mounted software package to obtain decompressed data;
and installing target vehicle-mounted software corresponding to the target vehicle-mounted software package according to the decompressed data.
By adopting the vehicle-mounted software downloading method in the embodiment, the vehicle-mounted software downloading device solves the technical problem of low vehicle-mounted software upgrading and installing efficiency. Compared with the prior art, the beneficial effects of the vehicle-mounted software downloading device provided by the embodiment of the application are the same as the beneficial effects of the vehicle-mounted software downloading method provided by the embodiment, and other technical features of the vehicle-mounted software downloading device are the same as the features disclosed by the embodiment method, and are not repeated herein.
The embodiment of the present application further provides a vehicle-mounted software downloading device, which is applied to the OTA server, and the vehicle-mounted software downloading device includes:
the system comprises an acquisition module, a display module and a control module, wherein the acquisition module is used for acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle;
the generating module is used for generating server address information according to the controller identifier and the server address of the OTA server;
and the sending module is used for sending the server address information to the target vehicle according to the vehicle identification so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
Optionally, the sending module is further configured to:
according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle can generate a vehicle-mounted software downloading request according to the server address information;
receiving a vehicle-mounted software downloading request sent by the target vehicle, and acquiring a controller memory address in the vehicle-mounted software downloading request;
acquiring a target vehicle-mounted software package corresponding to the target vehicle, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package;
and sequentially sending each original transmission data packet to the target vehicle so that the target vehicle can download the target vehicle-mounted software packet to the controller memory corresponding to the controller memory address according to each original transmission data packet.
Optionally, the memory address of the controller at least includes a memory block address, and the sending module is further configured to:
segmenting the target vehicle-mounted software package to obtain each target transmission data package, and matching corresponding memory block addresses for each target transmission data package;
and respectively encapsulating each target transmission data packet, the corresponding memory block address and the corresponding controller identifier to obtain each original transmission data packet.
By adopting the vehicle-mounted software downloading method in the embodiment, the vehicle-mounted software downloading device solves the technical problem of low vehicle-mounted software upgrading and installing efficiency. Compared with the prior art, the beneficial effects of the vehicle-mounted software downloading device provided by the embodiment of the application are the same as the beneficial effects of the vehicle-mounted software downloading method provided by the embodiment, and other technical features of the vehicle-mounted software downloading device are the same as those disclosed by the method of the embodiment, which are not repeated herein.
An embodiment of the present application provides an electronic device, which includes: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the vehicle-mounted software downloading method in the first embodiment.
Referring now to FIG. 3, shown is a block diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device may include a processing apparatus (e.g., a central processing unit, a graphic processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) or a program loaded from a storage apparatus into a Random Access Memory (RAM). In the RAM, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device, the ROM, and the RAM are connected to each other through a bus. An input/output (I/O) interface is also connected to the bus.
Generally, the following systems may be connected to the I/O interface: input devices including, for example, touch screens, touch pads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, and the like; output devices including, for example, liquid Crystal Displays (LCDs), speakers, vibrators, and the like; storage devices including, for example, magnetic tape, hard disk, and the like; and a communication device. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from a storage means, or installed from a ROM. The computer program, when executed by a processing device, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
The electronic equipment provided by the application adopts the vehicle-mounted software downloading method in the embodiment, and the technical problem of low vehicle-mounted software upgrading and installing efficiency is solved. Compared with the prior art, the electronic device provided by the embodiment of the application has the same beneficial effects as the vehicle-mounted software downloading method provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the embodiment method, which are not repeated herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The present embodiment provides a computer-readable storage medium having stored thereon computer-readable program instructions for executing the method of the in-vehicle software downloading method in the first embodiment.
The computer readable storage medium provided by the embodiments of the present application may be, for example, a usb disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any of the above. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be separate and not incorporated into the electronic device.
The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller; forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier; and controlling the target controller to access the OTA server according to the server address so as to download the target vehicle-mounted software package on the OTA server into a controller memory of the target controller.
Or acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle; generating server address information according to the controller identifier and the server address of the OTA server; and sending the server address information to the target vehicle according to the vehicle identification so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer-readable storage medium provided by the application stores computer-readable program instructions for executing the vehicle-mounted software downloading method, and solves the technical problem of low vehicle-mounted software upgrading and installing efficiency. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the application are the same as the beneficial effects of the vehicle-mounted software downloading method provided by the embodiment, and are not repeated herein.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the in-vehicle software downloading method as described above.
The computer program product solves the technical problem of low efficiency of upgrading and installing vehicle-mounted software. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the application are the same as those of the vehicle-mounted software downloading method provided by the embodiment, and are not repeated herein.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (9)

1. A vehicle-mounted software downloading method is characterized by being applied to a target vehicle, wherein the target vehicle comprises a target controller, a vehicle-mounted gateway and a vehicle-mounted communication module, and the vehicle-mounted software downloading method comprises the following steps:
receiving server address information issued by an OTA server through the vehicle-mounted communication module, wherein the server address information comprises a server address of the OTA server and a controller identifier corresponding to the target controller;
forwarding the server address to the target controller through the vehicle-mounted gateway according to the controller identifier, wherein the vehicle-mounted gateway obtains the size of the software package, the controller identifier and the server address by analyzing the server address information;
controlling the target controller to access the OTA server according to the server address so as to download a target vehicle-mounted software package on the OTA server into a controller memory of the target controller;
the step of downloading the target vehicle-mounted software package on the OTA server to a controller memory of the target controller by controlling the target controller to access the OTA server according to the server address comprises the following steps:
dividing a controller memory with corresponding size in the target controller according to the size of the software package obtained by analyzing the vehicle-mounted gateway, and obtaining a controller memory address corresponding to the controller memory;
generating a vehicle-mounted software downloading request through the target controller according to the server address, the controller memory address and the controller identifier; a means of
Controlling the target controller to send the vehicle-mounted software downloading request to the OTA server so that the OTA server can generate at least one original transmission data packet corresponding to the vehicle-mounted software downloading request, wherein each original transmission data packet is obtained by encapsulating the controller identifier, the target vehicle-mounted software packet and the controller memory address;
and sequentially receiving the original transmission data packets through the vehicle-mounted communication module, and downloading the target vehicle-mounted software packet to the controller memory.
2. The method according to claim 1, wherein the target vehicle software package at least includes a target transmission data package, the controller memory at least includes a memory block corresponding to the target transmission data package, the steps of sequentially receiving each of the original transmission data packages through the vehicle communication module and downloading the target vehicle software package to the controller memory include:
receiving an original transmission data packet issued by the OTA server through the vehicle-mounted communication module, and transmitting the original transmission data packet to the vehicle-mounted gateway;
and forwarding a target transmission data packet in the original transmission data packet to the target controller through the vehicle-mounted gateway, and storing the target transmission data packet into a corresponding memory block until all target transmission data packets are stored into the controller memory.
3. The method for downloading vehicle software according to claim 2, wherein the step of forwarding the target transmission data packet in the original transmission data packets to the target controller through the vehicle gateway comprises:
analyzing the original transmission data packet through the vehicle-mounted gateway to obtain a target transmission data packet, a controller identifier and a memory block address;
and storing the target transmission data packet into a memory block corresponding to the memory block address according to the controller identifier and the memory block address.
4. The on-board software download method as claimed in claim 1, wherein after the step of accessing the OTA server by controlling the target controller according to the server address to download the target on-board software package on the OTA server into the controller memory of the target controller, the on-board software download method further comprises:
decompressing the target vehicle-mounted software package to obtain decompressed data;
and installing target vehicle-mounted software corresponding to the target vehicle-mounted software package according to the decompressed data.
5. A vehicle-mounted software downloading method is applied to an OTA server, and comprises the following steps:
acquiring a vehicle identifier corresponding to a target vehicle and a controller identifier corresponding to a target controller in the target vehicle, wherein the target vehicle is the target vehicle in the vehicle-mounted software downloading method according to any one of claims 1 to 4;
generating server address information according to the controller identification and the server address of the OTA server;
and sending the server address information to the target vehicle according to the vehicle identification so that a target controller in the target vehicle can download a target vehicle-mounted software package in the OTA server according to the server address information.
6. The method for downloading vehicle software according to claim 5, wherein the step of sending the server address information to the target vehicle according to the vehicle identification, so that a target controller in the target vehicle can download a target vehicle software package at the OTA server according to the server address information comprises the steps of:
according to the vehicle identification, the server address information is sent to the target vehicle, so that the target vehicle can generate a vehicle-mounted software downloading request according to the server address information;
receiving a vehicle-mounted software downloading request sent by the target vehicle, and acquiring a controller memory address in the vehicle-mounted software downloading request;
acquiring a target vehicle-mounted software package corresponding to the target vehicle, and encapsulating the controller identifier, the target vehicle-mounted software package and the memory address of the controller into at least one original transmission data package;
and sequentially sending each original transmission data packet to the target vehicle so that the target vehicle can download the target vehicle-mounted software packet to the controller memory corresponding to the controller memory address according to each original transmission data packet.
7. The method according to claim 6, wherein the controller memory address comprises at least a memory block address, and the step of encapsulating the controller identifier, the target in-vehicle software package, and the controller memory address into at least one original transmission data package comprises:
segmenting the target vehicle-mounted software package to obtain each target transmission data package, and matching corresponding memory block addresses for each target transmission data package;
and respectively encapsulating each target transmission data packet, the corresponding memory block address and the corresponding controller identifier to obtain each original transmission data packet.
8. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the in-vehicle software download method of any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a program for implementing an in-vehicle software downloading method, the program being executed by a processor to implement the steps of the in-vehicle software downloading method according to any one of claims 1 to 7.
CN202210715387.3A 2022-06-23 2022-06-23 Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium Active CN114793227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210715387.3A CN114793227B (en) 2022-06-23 2022-06-23 Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210715387.3A CN114793227B (en) 2022-06-23 2022-06-23 Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114793227A CN114793227A (en) 2022-07-26
CN114793227B true CN114793227B (en) 2022-11-01

Family

ID=82463142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210715387.3A Active CN114793227B (en) 2022-06-23 2022-06-23 Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114793227B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182072A (en) * 2017-12-28 2018-06-19 上汽通用五菱汽车股份有限公司 Remote upgrade method, server and the storage medium of vehicle electronics
CN111343064A (en) * 2020-02-29 2020-06-26 东风汽车集团有限公司 System and method for upgrading software of automobile control system
CN112104736A (en) * 2020-09-17 2020-12-18 广州汽车集团股份有限公司 OTA-based multi-ECU upgrading method
CN113190249A (en) * 2021-04-29 2021-07-30 华人运通(上海)云计算科技有限公司 OTA-based vehicle control instruction block software package downloading method, device and system
CN114546444A (en) * 2022-02-22 2022-05-27 阿波罗智能技术(北京)有限公司 Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10606605B2 (en) * 2016-09-29 2020-03-31 Verizon Patent And Licensing, Inc. Software upgrade and disaster recovery on a computing device
CN111835627B (en) * 2019-04-23 2022-04-26 华为技术有限公司 Communication method of vehicle-mounted gateway, vehicle-mounted gateway and intelligent vehicle
WO2022061710A1 (en) * 2020-09-25 2022-03-31 浙江吉利控股集团有限公司 Method and apparatus for controlling vehicle service, vehicle, device, and storage medium
CN114398060A (en) * 2022-01-12 2022-04-26 中国第一汽车股份有限公司 Vehicle-mounted controller software upgrading method and device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108182072A (en) * 2017-12-28 2018-06-19 上汽通用五菱汽车股份有限公司 Remote upgrade method, server and the storage medium of vehicle electronics
CN111343064A (en) * 2020-02-29 2020-06-26 东风汽车集团有限公司 System and method for upgrading software of automobile control system
CN112104736A (en) * 2020-09-17 2020-12-18 广州汽车集团股份有限公司 OTA-based multi-ECU upgrading method
CN113190249A (en) * 2021-04-29 2021-07-30 华人运通(上海)云计算科技有限公司 OTA-based vehicle control instruction block software package downloading method, device and system
CN114546444A (en) * 2022-02-22 2022-05-27 阿波罗智能技术(北京)有限公司 Vehicle upgrading method and device, electronic equipment, medium and automatic driving vehicle

Also Published As

Publication number Publication date
CN114793227A (en) 2022-07-26

Similar Documents

Publication Publication Date Title
CN110297658B (en) Function component sharing method and device and computer equipment
CN110784520A (en) File downloading method and device and electronic equipment
CN110336592B (en) Data transmission method suitable for Bluetooth card reader, electronic equipment and storage medium
CN112115217A (en) Data processing method and device for high-precision map, electronic equipment and storage medium
CN110865846A (en) Application management method, device, terminal, system and storage medium
CN112767565B (en) Method and device for OBU issuing and activating based on vehicle machine and electronic equipment
CN112230969A (en) Method and equipment for formatting user space storage area in firmware upgrading process
CN114793227B (en) Vehicle-mounted software downloading method, electronic equipment and computer readable storage medium
CN111309406A (en) Event processing method and device of application program and electronic equipment
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN114780124A (en) Differential upgrading method, device, medium and electronic equipment
CN111212296B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN114064307A (en) Method, related device and system for realizing application program sharing of cloud mobile phone
CN109669679B (en) Service detection and processing method and device and electronic equipment
CN111625326A (en) Task pipeline execution method and device and electronic equipment
CN111193717A (en) FTP black and white list control method and device and electronic equipment
CN113760338B (en) Method and device for switching application binary interface ABI and electronic equipment
CN113067854B (en) Method, device, equipment and storage medium for acquiring content resources of vehicle-mounted equipment
CN113821248B (en) Service method of vehicle-end software, vehicle-end software and related equipment thereof
CN112732269B (en) Access method and device applied to physical address of AVS2 hardware encoder
CN118152064A (en) DoIP-based virtual ECU processing method, doIP-based virtual ECU processing device, doIP-based virtual ECU processing equipment and DoIP-based virtual ECU processing medium
CN114443089A (en) Upgrade package manufacturing method and device, electronic equipment and storage medium
CN116932063A (en) Window display method and device and electronic equipment
CN116126375A (en) Firmware packaging and upgrading method and system for intelligent driving sensor and vehicle
CN115065719A (en) Device interaction access method and device, electronic device and readable storage medium

Legal Events

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