CN109032653B - Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle - Google Patents

Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle Download PDF

Info

Publication number
CN109032653B
CN109032653B CN201810996177.XA CN201810996177A CN109032653B CN 109032653 B CN109032653 B CN 109032653B CN 201810996177 A CN201810996177 A CN 201810996177A CN 109032653 B CN109032653 B CN 109032653B
Authority
CN
China
Prior art keywords
version
server
vehicle
mounted terminal
basic version
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
CN201810996177.XA
Other languages
Chinese (zh)
Other versions
CN109032653A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810996177.XA priority Critical patent/CN109032653B/en
Publication of CN109032653A publication Critical patent/CN109032653A/en
Application granted granted Critical
Publication of CN109032653B publication Critical patent/CN109032653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/658Incremental updates; Differential updates

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)
  • Stored Programmes (AREA)

Abstract

The invention provides an upgrading method, device, equipment and storage medium for a vehicle-mounted terminal of an unmanned vehicle, wherein the latest version of a vehicle-mounted terminal application program is obtained through a server, and a differential packet is obtained according to the latest version and a basic version prestored in the server; and then the difference packet is sent to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and the basic version which is pre-stored locally in the unmanned automobile. The method simplifies the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle, improves the upgrading efficiency, facilitates the version management, and simultaneously improves the safety and the reliability of the upgrading process.

Description

Method, device and equipment for upgrading vehicle-mounted terminal of unmanned vehicle and storage medium
Technical Field
The invention relates to the technical field of communication, in particular to an upgrading method, device, equipment and storage medium for an unmanned automobile vehicle-mounted terminal.
Background
The unmanned automobile is an automobile which is unmanned by intelligent equipment mainly based on a computer system in the automobile, integrates a plurality of technologies such as automatic control, a system structure, artificial intelligence, visual calculation and the like, is a product of high development of computer science, mode recognition and intelligent control technology, is an important mark for measuring national scientific research strength and industrial level, and has wide application prospect in the fields of national defense and national economy. Unmanned vehicles have been widely studied by countries around the world as a development direction of future automobiles.
In the prior art, an application program is installed on a vehicle-mounted terminal on an unmanned vehicle, and when the application program of the vehicle-mounted terminal needs to be upgraded, a technician is usually required to manually obtain an upgrade package and copy the upgrade package onto the unmanned vehicle to upgrade the application program of the vehicle-mounted terminal.
Disclosure of Invention
The invention provides an upgrading method, device, equipment and storage medium for a vehicle-mounted terminal of an unmanned vehicle, which are used for simplifying upgrading operation of an application program of the vehicle-mounted terminal of the unmanned vehicle, improving upgrading efficiency and improving safety and reliability of an upgrading process.
The invention provides an upgrading method for a vehicle-mounted terminal of an unmanned vehicle, which comprises the following steps:
the server acquires the latest version of the application program of the vehicle-mounted terminal;
the server acquires a differential packet according to the latest version and a basic version prestored in the server;
and the server sends the difference packet to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and a basic version which is pre-stored locally in the unmanned automobile.
The second aspect of the invention provides an upgrading method for an unmanned automobile vehicle-mounted terminal, which comprises the following steps:
the method comprises the steps that an unmanned automobile receives a differential packet sent by a server, wherein the differential packet is obtained by the server according to the latest version and a basic version prestored in the server after the server obtains the latest version of a vehicle-mounted terminal application program;
and the unmanned vehicle upgrades the application program of the vehicle-mounted terminal according to the difference packet and a basic version which is pre-stored locally in the unmanned vehicle.
The third aspect of the present invention provides an upgrading apparatus for a vehicle-mounted terminal of an unmanned vehicle, comprising:
the acquisition module is used for acquiring the latest version of the application program of the vehicle-mounted terminal;
the processing module is used for acquiring the differential packet according to the latest version and a basic version pre-stored in the server;
and the communication module is used for sending the differential packet to the unmanned automobile so that the unmanned automobile can upgrade the vehicle-mounted terminal application program according to the differential packet and a basic version which is pre-stored locally in the unmanned automobile.
The fourth aspect of the present invention provides an upgrading apparatus for a vehicle-mounted terminal of an unmanned vehicle, comprising:
the communication module is used for receiving a differential packet sent by a server, wherein the differential packet is obtained by the server according to the latest version and a basic version prestored in the server after the server obtains the latest version of a vehicle-mounted terminal application program;
and the processing module is used for upgrading the vehicle-mounted terminal application program according to the differential packet and a basic version which is pre-stored locally in the unmanned vehicle.
A fifth aspect of the present invention provides a server, comprising: memory, processors, and computer programs;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the first aspect.
A sixth aspect of the present invention is to provide an unmanned vehicle comprising: memory, processors, and computer programs;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of the second aspect.
A seventh aspect of the present invention is to provide a computer-readable storage medium having a computer program stored thereon;
the computer program, when executed by a processor, implements the method as set forth in the first aspect.
An eighth aspect of the present invention is to provide a computer-readable storage medium having stored thereon a computer program;
which when executed by a processor performs the method according to the second aspect.
According to the method, the device, the equipment and the storage medium for upgrading the vehicle-mounted terminal of the unmanned vehicle, the latest version of the vehicle-mounted terminal application program is obtained through the server, and the differential packet is obtained according to the latest version and the basic version prestored in the server; and then the difference packet is sent to the unmanned automobile, so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and a locally pre-stored basic version of the unmanned automobile. The method simplifies the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle, improves the upgrading efficiency, facilitates the version management, and simultaneously improves the safety and the reliability of the upgrading process.
Drawings
In order to more clearly illustrate the embodiments of the present invention 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 that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of an upgrading method for a vehicle-mounted terminal of an unmanned vehicle according to an embodiment of the present invention;
FIG. 2 is a flowchart of an upgrading method for an unmanned vehicle terminal according to another embodiment of the present invention;
FIG. 3 is a flowchart of an upgrading method for an unmanned vehicle terminal according to another embodiment of the present invention;
FIG. 4 is a block diagram of an upgrading apparatus for a vehicle-mounted terminal of an unmanned vehicle according to an embodiment of the present invention;
FIG. 5 is a block diagram of an upgrading apparatus for an unmanned vehicle mounted terminal according to another embodiment of the present invention;
FIG. 6 is a block diagram of a server provided by an embodiment of the present invention;
fig. 7 is a structural diagram of an unmanned vehicle according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
The upgrading method of the vehicle-mounted terminal of the unmanned automobile can be suitable for an unmanned automobile system, wherein the unmanned automobile system comprises a server and at least one unmanned automobile, the unmanned automobile is in communication connection with the server, the vehicle-mounted terminal on the unmanned automobile is provided with an application program, and the server pushes an upgrading package to the unmanned automobile so that the application program of the vehicle-mounted terminal is upgraded by installing the upgrading package on the unmanned automobile. The server may be a cloud server, such as an OTA (Over-the-Air Technology) cloud server, or may be another server, which is not described herein again. The following describes in detail the upgrading process of the vehicle-mounted terminal of the unmanned vehicle with reference to a specific embodiment.
Fig. 1 is a flowchart of an upgrading method for an unmanned vehicle terminal according to an embodiment of the present invention. The embodiment provides an upgrading method for an unmanned vehicle-mounted terminal, wherein an execution main body is a server, and the method comprises the following specific steps:
s101, the server acquires the latest version of the vehicle-mounted terminal application program.
In this embodiment, the server may first obtain which vehicle-mounted terminal applications are installed on the unmanned vehicle, obtain a current version of each application, query a production library of each vehicle-mounted terminal application whether a version is updated, and obtain a latest version of the vehicle-mounted terminal application if the version is updated.
More specifically, the obtaining, by the server, the latest version of the application program of the vehicle-mounted terminal may include:
s1011, the server searches the vehicle-mounted terminal application programs with updated versions by polling the output library of each vehicle-mounted terminal application program;
and S1012, the server acquires the corresponding latest version from the production library of the vehicle-mounted terminal application program with the updated version.
In this embodiment, the server may poll the production library of each vehicle-mounted terminal application program, sequentially determine whether each vehicle-mounted terminal application program has a version update, and if so, obtain the latest version from the production library.
S102, the server acquires the differential packet according to the latest version and a basic version pre-stored in the server.
In this embodiment, for upgrading the application program of the vehicle-mounted terminal, differential update may be adopted, that is, only the differential part is updated, so as to meet the update requirement with the minimum download amount. Existing difference updates are usually performed on the basis of the previous version, and for the test phase of the unmanned vehicle, compared with the formal operation phase, the version updates are very frequent, and may be performed many times in a day, and it is troublesome to make a difference back and forth between different versions, for example, from version 1 to version 5, a process of 1> < 2> < 3> < 4> < 5 > is required to be performed. Therefore, a base version is pre-stored locally in the unmanned vehicle, wherein the base version may be a primary version (i.e., version 1.0.0.0) of the vehicle terminal application program, and may of course be any intermediate version. And the server also stores the basic version and acquires a differential packet according to the latest version and the basic version, wherein the differential packet is a differential packet from the basic version to the latest version so that the unmanned vehicle performs differential update according to the differential packet and the basic version.
More specifically, the obtaining, by the server, the differential packet according to the latest version and a basic version pre-stored in the server may include:
s1021, the server compares the latest version with a basic version pre-stored in the server;
s1022, the server copies the newly added files, and/or deletes the deleted files, and/or performs BSDiff operation on the difference files to obtain the patch files according to the comparison result, so as to obtain the difference packet.
In this embodiment, the server obtains the difference between the latest version and the pre-stored basic version by comparing the two versions. According to the comparison result, the newly added file of the latest version which is newly added compared with the basic version can be directly copied; the files of which the latest version is deleted compared with the basic version can be directly deleted, namely, a deletion instruction is generated to identify which files need to be deleted; and for the difference file between the latest version and the basic version, namely the same file but modified, acquiring a patch (patch) file by using a BSDiff algorithm. According to the above operation, the final differential packet is obtained.
S103, the server sends the difference packet to the unmanned automobile so that the unmanned automobile can upgrade the vehicle-mounted terminal application program according to the difference packet and a locally pre-stored basic version of the unmanned automobile.
In this embodiment, after obtaining the difference packet, the server sends the difference packet to the unmanned vehicle, the unmanned vehicle performs difference update according to the difference packet and a locally pre-stored basic version of the difference packet, adds a new file to the basic version according to the difference packet, deletes the deleted file, and installs a patch on the difference file according to the patch file, so that the application program of the vehicle-mounted terminal is upgraded from the basic version to the latest version.
According to the upgrading method for the vehicle-mounted terminal of the unmanned vehicle, the latest version of the application program of the vehicle-mounted terminal is obtained through the server, and the differential packet is obtained according to the latest version and the basic version prestored in the server; and then the difference packet is sent to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and the basic version which is pre-stored locally in the unmanned automobile. The method of the embodiment simplifies the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle, improves the upgrading efficiency, facilitates version management, and simultaneously improves the safety and reliability of the upgrading process.
On the basis of the above embodiment, as shown in fig. 2, after S101 and before S102, the method may further include:
s201, the server inquires version information of a basic version which is prestored locally in the unmanned vehicle;
s202, the server acquires the basic version according to the inquired version information of the basic version.
In this embodiment, after the server acquires the latest version of the application program of the vehicle-mounted terminal and before the differential packet is acquired, the server may also query version information of a basic version pre-stored locally in the unmanned vehicle, so as to avoid that the basic version pre-stored by the server is different from the basic version pre-stored locally in the unmanned vehicle, and the differential packet is invalid. Of course, if the basic version pre-stored by the server is different from the basic version pre-stored locally by the unmanned vehicle, the server acquires the version same as the basic version pre-stored locally by the unmanned vehicle according to the version information, and then acquires the differential packet based on the newly acquired basic version.
Further, if the server does not inquire version information of a basic version pre-stored locally in the unmanned vehicle, a full package is generated according to the latest version of the vehicle-mounted terminal application program, and the full package is sent to the unmanned vehicle, so that the unmanned vehicle can upgrade the vehicle-mounted terminal application program according to the full package.
In this embodiment, if the server does not inquire the version information of the local pre-stored basic version of the unmanned vehicle when inquiring the version information of the local pre-stored basic version of the unmanned vehicle, which indicates that the local pre-stored basic version of the unmanned vehicle is lost or damaged, a full package is pushed to the unmanned vehicle, so that the unmanned vehicle upgrades the vehicle-mounted terminal application program according to the full package.
In addition, if the unmanned vehicle finds that the local un-prestored basic version of the unmanned vehicle is not available or the local prestored basic version is damaged after receiving the differential packet, a full packet request can be sent to the server, and the server feeds back the full packet according to the received full packet request.
Fig. 3 is a flowchart of an upgrading method for an unmanned vehicle onboard terminal according to an embodiment of the present invention. The embodiment provides an upgrading method for a vehicle-mounted terminal of an unmanned automobile, wherein an execution main body is the unmanned automobile, and the method comprises the following specific steps:
s301, the unmanned vehicle receives a differential packet sent by a server, wherein the differential packet is obtained by the server according to the latest version and a basic version prestored in the server after the server obtains the latest version of a vehicle-mounted terminal application program.
In this embodiment, after the server acquires the latest version of the vehicle-mounted terminal application program, the differential packet may be acquired according to the latest version and a base version pre-stored in the server, and the differential packet is a differential packet from the base version to the latest version and is sent to the unmanned vehicle.
S302, the unmanned vehicle upgrades the vehicle-mounted terminal application program according to the difference packet and a locally pre-stored basic version of the unmanned vehicle.
In this embodiment, after receiving the differential package, the unmanned vehicle performs differential update according to the differential package and a locally pre-stored basic version thereof, adds a new file in the differential package to the basic version, deletes the deleted file, and installs a patch on the differential file according to the patch file, so that the application program of the vehicle-mounted terminal is upgraded from the basic version to the latest version.
The method for upgrading the unmanned vehicle-mounted terminal provided by this embodiment corresponds to the method for upgrading the unmanned vehicle-mounted terminal on the server side, and is not described herein again.
According to the upgrading method for the vehicle-mounted terminal of the unmanned vehicle, the latest version of the application program of the vehicle-mounted terminal is obtained through the server, and the differential packet is obtained according to the latest version and the basic version prestored in the server; and then the difference packet is sent to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and the basic version which is pre-stored locally in the unmanned automobile. The method of the embodiment simplifies the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle, improves the upgrading efficiency, facilitates version management, and simultaneously improves the safety and reliability of the upgrading process.
On the basis of the above embodiment, the method may further include:
the unmanned vehicle receives an inquiry instruction of the server for the version information of the basic version locally pre-stored by the unmanned vehicle;
and the unmanned automobile feeds back the version information of the basic version to the server according to the query instruction.
In this embodiment, after the server obtains the latest version of the application program of the vehicle-mounted terminal and before the differential packet is obtained, the server may also query version information of a basic version locally pre-stored in the unmanned vehicle, that is, the server sends a query instruction of the version information of the basic version locally pre-stored in the unmanned vehicle to the unmanned vehicle, and the unmanned vehicle feeds back the version information of the basic version, so as to prevent the basic version pre-stored in the server from being different from the basic version locally pre-stored in the unmanned vehicle, and thus the differential packet is invalid. Of course, if the basic version pre-stored by the server is different from the basic version pre-stored locally by the unmanned vehicle, the server acquires the version same as the basic version pre-stored locally by the unmanned vehicle according to the version information, and then acquires the differential packet based on the newly acquired basic version.
Further, the method may further include:
if the unmanned vehicle judges that the basic version is not pre-stored locally or is damaged, sending a full package request to the server;
the unmanned automobile receives a full package fed back by the server, wherein the full package is generated by the server according to the latest version of the vehicle-mounted terminal application program;
and the unmanned vehicle upgrades the application program of the vehicle-mounted terminal according to the full volume package.
In this embodiment, if the unmanned vehicle finds that the local un-prestored basic version of the unmanned vehicle is not available or the local prestored basic version is damaged after receiving the difference packet, the difference packet cannot be updated at this time, so that the difference packet request can be sent to the server, and the server feeds back the total packet according to the received total packet request. Of course, the driverless vehicle may also request only the base version from the server, and then upgrade using the steps of S301 and S302.
Fig. 4 is a structural diagram of an upgrading device for an onboard terminal of an unmanned vehicle according to an embodiment of the present invention. The upgrading device 40 of the unmanned vehicle onboard terminal may be a server in the above embodiment. The upgrading apparatus 40 of the unmanned vehicle onboard terminal provided in this embodiment may execute the processing flow provided in the upgrading method of the unmanned vehicle onboard terminal on the server side, as shown in fig. 4, where the upgrading apparatus 40 of the unmanned vehicle onboard terminal includes an obtaining module 41, a processing module 42, and a communication module 43.
The obtaining module 41 is configured to obtain a latest version of the vehicle-mounted terminal application;
the processing module 42 is configured to obtain a differential packet according to the latest version and a basic version pre-stored in the server;
and the communication module 43 is configured to send the difference packet to the unmanned vehicle, so that the unmanned vehicle upgrades the vehicle-mounted terminal application program according to the difference packet and a locally pre-stored basic version of the unmanned vehicle.
Further, the obtaining module 41 is specifically configured to:
the vehicle-mounted terminal application program with the updated version is searched by polling the output library of each vehicle-mounted terminal application program;
and acquiring the corresponding latest version from the output library of the vehicle-mounted terminal application program with the version update.
Further, the processing module 42 is specifically configured to:
comparing the latest version with a basic version prestored in the server;
and copying the newly added file, and/or deleting the deleted file, and/or carrying out BSDiff operation on the difference file to obtain the patch file according to the comparison result, thereby obtaining the difference packet.
Further, the communication module 43 is further configured to:
inquiring version information of a basic version which is prestored locally in the unmanned vehicle;
and acquiring the basic version according to the inquired version information of the basic version.
Further, the processing module 42 is further configured to:
if the version information of the basic version which is pre-stored locally in the unmanned automobile is not inquired, generating a full package according to the latest version of the vehicle-mounted terminal application program, and sending the full package to the unmanned automobile, so that the unmanned automobile upgrades the vehicle-mounted terminal application program according to the full package.
The upgrading device for the vehicle-mounted terminal of the unmanned vehicle provided by this embodiment may be specifically configured to execute the method embodiments provided in fig. 1 and fig. 2, and specific functions are not described herein again.
The upgrading device for the vehicle-mounted terminal of the unmanned vehicle provided by the embodiment acquires the latest version of the application program of the vehicle-mounted terminal through the server, and acquires the differential packet according to the latest version and the basic version prestored in the server; and then the difference packet is sent to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and the basic version which is pre-stored locally in the unmanned automobile. According to the method and the system, the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle is simplified, the upgrading efficiency is improved, the version management is facilitated, and meanwhile the safety and the reliability of the upgrading process are improved.
Fig. 5 is a structural diagram of an upgrading device for an onboard terminal of an unmanned vehicle according to an embodiment of the present invention. The upgrading apparatus 50 of the vehicle-mounted terminal of the unmanned vehicle may be the unmanned vehicle in the above embodiment. The upgrading apparatus 50 for an unmanned vehicle onboard terminal according to this embodiment may execute the processing flow provided by the upgrading method for an unmanned vehicle onboard terminal on the unmanned vehicle side according to this embodiment, as shown in fig. 5, where the upgrading apparatus 50 for an unmanned vehicle onboard terminal includes a communication module 51 and a processing module 52.
The communication module 51 is configured to receive a differential packet sent by a server, where the differential packet is obtained by the server according to a latest version of a vehicle-mounted terminal application program and a basic version pre-stored in the server after the server obtains the latest version;
and the processing module 52 is configured to upgrade the vehicle-mounted terminal application program according to the difference package and a basic version pre-stored locally in the unmanned vehicle.
Further, the communication module 51 is further configured to:
receiving a query instruction of the server for version information of a basic version which is pre-stored locally by the unmanned vehicle;
and feeding back the version information of the basic version to the server according to the query instruction.
Further, the processing module 52 is further configured to determine whether the basic version is pre-stored locally in the unmanned vehicle or whether the basic version pre-stored locally in the unmanned vehicle is damaged;
the communication module 51 is further configured to send a full package request to the server if it is determined that the basic version is not pre-stored locally in the unmanned vehicle or the basic version pre-stored locally in the unmanned vehicle is damaged;
the communication module 51 is further configured to receive a full packet fed back by the server, where the full packet is generated by the server according to the latest version of the vehicle-mounted terminal application program;
the processing module 52 is further configured to upgrade the vehicle-mounted terminal application program according to the full package.
The upgrading device for the unmanned vehicle-mounted terminal provided by this embodiment may be specifically configured to execute the method embodiment provided by fig. 3, and specific functions are not described herein again.
The upgrading device for the vehicle-mounted terminal of the unmanned vehicle provided by the embodiment acquires the latest version of the application program of the vehicle-mounted terminal through the server, and acquires the differential packet according to the latest version and the basic version prestored in the server; and then the difference packet is sent to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and the basic version which is pre-stored locally in the unmanned automobile. According to the method and the system, the upgrading operation of the application program of the vehicle-mounted terminal of the unmanned vehicle is simplified, the upgrading efficiency is improved, the version management is facilitated, and meanwhile the safety and the reliability of the upgrading process are improved.
Fig. 6 is a block diagram of a server according to another embodiment of the present invention. As shown in fig. 6, the present embodiment provides a server, including: a processor 61; a memory 62; and a computer program.
The computer program is stored in the memory 62 and configured to be executed by the processor 61 to implement the processing procedure provided in the embodiment of the method for upgrading the vehicle-mounted terminal of the unmanned vehicle on the server side in fig. 1 and 2, and specific functions are not described herein again.
More specifically, the server further includes a receiver 63 and a transmitter 64, and the receiver 63 and the transmitter 64, the processor 61 and the memory 62 are connected by a bus.
Fig. 7 is a structural diagram of an unmanned vehicle according to another embodiment of the present invention. As shown in fig. 7, the present embodiment provides an unmanned automobile including: a processor 71; a memory 72; and a computer program.
The computer program is stored in the memory 72, and is configured to be executed by the processor 71 to implement the processing procedure provided in the embodiment of the method for upgrading an onboard terminal of an unmanned vehicle on an unmanned vehicle side as provided in fig. 3, and specific functions are not described herein again.
More specifically, the unmanned vehicle further comprises a receiver 73 and a transmitter 74, the receiver 73 and the transmitter 74, the processor 71 and the memory 72 being connected by a bus.
Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon;
the computer program is executed by the processor to implement the method for upgrading the vehicle-mounted terminal of the unmanned vehicle at the server side as shown in fig. 1-3, and specific functions are not described herein again.
Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon;
the computer program is executed by the processor to implement the method for upgrading the unmanned vehicle-mounted terminal on the unmanned vehicle side as shown in fig. 4, and specific functions are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (13)

1. An upgrading method for a vehicle-mounted terminal of an unmanned vehicle is characterized by comprising the following steps:
the server acquires the latest version of the vehicle-mounted terminal application program from a production library of the vehicle-mounted terminal application program with the updated version;
the server inquires version information of a basic version which is prestored locally in the unmanned vehicle;
if the server inquires the version information of the basic version, the server acquires the basic version prestored in the server according to the inquired version information of the basic version;
if the basic version pre-stored by the server is the same as the basic version pre-stored locally by the unmanned vehicle, the server acquires a differential packet according to the latest version and the basic version pre-stored in the server;
if the basic version prestored by the server is different from the basic version locally prestored by the unmanned vehicle, the server acquires the version which is the same as the basic version locally prestored by the unmanned vehicle according to the version information, and acquires a difference packet based on the latest version and the newly acquired basic version;
the server sends the difference packet to the unmanned automobile so that the unmanned automobile can upgrade the application program of the vehicle-mounted terminal according to the difference packet and a basic version which is pre-stored locally in the unmanned automobile;
and if the server does not inquire the version information of the basic version which is prestored locally in the unmanned automobile, generating a full package according to the latest version of the vehicle-mounted terminal application program, and sending the full package to the unmanned automobile so that the unmanned automobile upgrades the vehicle-mounted terminal application program according to the full package.
2. The method of claim 1, wherein before the server obtains the latest version of the in-vehicle terminal application from a production library of in-vehicle terminal applications with version updates, the method further comprises:
and the server searches the vehicle-mounted terminal application programs with updated versions by polling the output library of each vehicle-mounted terminal application program.
3. The method according to claim 1, wherein the server obtains the differential packet according to the latest version and a base version pre-stored in the server, and comprises:
the server compares the latest version with a basic version prestored in the server;
and the server copies the newly added files, and/or deletes the deleted files, and/or carries out BSDiff operation on the difference files to obtain the patch files according to the comparison result, so as to obtain the difference packet.
4. An upgrading method for a vehicle-mounted terminal of an unmanned vehicle is characterized by comprising the following steps:
the method comprises the steps that the unmanned vehicle receives a differential packet sent by a server, and if a basic version prestored by the server is the same as a basic version locally prestored by the unmanned vehicle, the differential packet is obtained by the server according to the latest version and the basic version prestored in the server after the latest version of a vehicle-mounted terminal application program is obtained from a production library of the vehicle-mounted terminal application program with version update; if the basic version prestored by the server is different from the basic version locally prestored by the unmanned vehicle, the difference packet is obtained by the server according to version information to obtain the version which is the same as the basic version locally prestored by the unmanned vehicle and based on the latest version and the newly obtained basic version;
the unmanned vehicle upgrades the vehicle-mounted terminal application program according to the differential packet and a locally pre-stored basic version of the unmanned vehicle;
the unmanned automobile receives an inquiry instruction of the server for the version information of a basic version which is pre-stored locally by the unmanned automobile;
the unmanned vehicle feeds back version information of the basic version to the server according to the query instruction so that the server can obtain the basic version prestored in the server according to the version information of the basic version;
if the unmanned vehicle judges that the basic version is not locally prestored in the unmanned vehicle or the basic version locally prestored in the unmanned vehicle is damaged, sending a full package request to the server;
the unmanned automobile receives a full package fed back by the server, wherein the full package is generated by the server according to the latest version of the vehicle-mounted terminal application program;
and the unmanned automobile upgrades the application program of the vehicle-mounted terminal according to the full amount of packages.
5. The utility model provides an unmanned vehicle-mounted terminal upgrading device, the device is the server, its characterized in that includes:
the acquisition module is used for acquiring the latest version of the vehicle-mounted terminal application program from a production library of the vehicle-mounted terminal application program with version update;
the communication module is used for inquiring version information of a basic version which is prestored locally in the unmanned vehicle; if the version information of the basic version pre-stored locally in the unmanned vehicle is inquired, the server acquires the basic version pre-stored in the server according to the inquired version information of the basic version;
the processing module is used for acquiring a differential packet according to the latest version and the basic version prestored in the server if the basic version prestored in the server is the same as the basic version prestored locally in the unmanned vehicle; if the basic version prestored by the server is different from the basic version locally prestored by the unmanned vehicle, the server acquires the version same as the basic version locally prestored by the unmanned vehicle according to version information and acquires a differential packet based on the latest version and the newly acquired basic version; sending the difference packet to an unmanned automobile so that the unmanned automobile can upgrade the vehicle-mounted terminal application program according to the difference packet and a locally pre-stored basic version of the unmanned automobile;
the processing module is further configured to: if the version information of the basic version which is pre-stored locally in the unmanned automobile is not inquired, generating a full package according to the latest version of the vehicle-mounted terminal application program, and sending the full package to the unmanned automobile, so that the unmanned automobile upgrades the vehicle-mounted terminal application program according to the full package.
6. The apparatus of claim 5, wherein the obtaining module is further configured to:
and searching the vehicle-mounted terminal application program with the updated version by polling the output library of each vehicle-mounted terminal application program.
7. The apparatus according to claim 5 or 6, wherein the processing module is specifically configured to:
comparing the latest version with a basic version prestored in the server;
and copying the newly added file, and/or deleting the deleted file, and/or carrying out BSDiff operation on the difference file to obtain a patch file according to the comparison result, thereby obtaining the difference packet.
8. The utility model provides an unmanned vehicle-mounted terminal upgrading device which characterized in that includes:
the communication module is used for receiving a differential packet sent by a server, and if a basic version prestored by the server is the same as a basic version locally prestored by the unmanned vehicle, the differential packet is obtained by the server according to the latest version and the basic version prestored in the server after acquiring the latest version of a vehicle-mounted terminal application program from a production library of the vehicle-mounted terminal application program with version update; if the basic version prestored in the server is different from the basic version locally prestored in the unmanned vehicle, the differential packet is obtained by the server according to version information to obtain the version which is the same as the basic version locally prestored in the unmanned vehicle and based on the latest version and the newly obtained basic version;
the processing module is used for upgrading the vehicle-mounted terminal application program according to the differential packet and a basic version which is pre-stored locally in the unmanned vehicle;
the communication module is further configured to: receiving a query instruction of the server for version information of a basic version which is pre-stored locally by the unmanned vehicle; feeding back the version information of the basic version to the server according to the query instruction so as to enable the server to obtain the basic version prestored in the server according to the version information of the basic version; the basic version pre-stored by the server is the same as the basic version pre-stored locally by the unmanned vehicle;
the communication module is further used for sending a full package request to the server if the basic version is judged not to be pre-stored locally in the unmanned vehicle or the basic version pre-stored locally in the unmanned vehicle is damaged;
the communication module is further used for receiving a full package fed back by the server, wherein the full package is generated by the server according to the latest version of the vehicle-mounted terminal application program;
and the processing module is also used for upgrading the application program of the vehicle-mounted terminal according to the full package.
9. The apparatus of claim 8,
the processing module is further used for judging whether the basic version is pre-stored locally in the unmanned vehicle or whether the basic version pre-stored locally in the unmanned vehicle is damaged.
10. A server, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any one of claims 1-3.
11. An unmanned vehicle, comprising:
a memory;
a processor; and
a computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of claim 4.
12. A computer-readable storage medium, having stored thereon a computer program;
the computer program, when executed by a processor, implementing the method of any one of claims 1-3.
13. A computer-readable storage medium, having stored thereon a computer program;
the computer program, when executed by a processor, implementing the method of claim 4.
CN201810996177.XA 2018-08-29 2018-08-29 Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle Active CN109032653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810996177.XA CN109032653B (en) 2018-08-29 2018-08-29 Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810996177.XA CN109032653B (en) 2018-08-29 2018-08-29 Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle

Publications (2)

Publication Number Publication Date
CN109032653A CN109032653A (en) 2018-12-18
CN109032653B true CN109032653B (en) 2022-11-08

Family

ID=64625142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810996177.XA Active CN109032653B (en) 2018-08-29 2018-08-29 Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle

Country Status (1)

Country Link
CN (1) CN109032653B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885335B (en) * 2019-01-15 2022-12-06 北京百度网讯科技有限公司 Configuration processing method, device, equipment and computer readable storage medium
CN110147244A (en) * 2019-04-30 2019-08-20 惠州市德赛西威智能交通技术研究院有限公司 A kind of method of vehicle-mounted software upgrading
CN110278543B (en) * 2019-06-27 2021-11-02 奇瑞汽车股份有限公司 Method and device for updating control system of automobile and storage medium
CN110162330B (en) * 2019-07-08 2021-04-13 上海赫千电子科技有限公司 System and method applied to automobile ECU (electronic control Unit) file upgrading
CN110389780A (en) * 2019-07-18 2019-10-29 上海擎感智能科技有限公司 Edition data processing method, system and equipment
CN111562931A (en) * 2020-04-30 2020-08-21 斑马网络技术有限公司 Method and system for upgrading vehicle firmware
CN111782254A (en) * 2020-07-02 2020-10-16 百度在线网络技术(北京)有限公司 Method, device, equipment and storage medium for upgrading object
CN112306538A (en) * 2020-10-16 2021-02-02 上海钧正网络科技有限公司 Vehicle upgrading method and device, computer equipment and storage medium
CN112346773A (en) * 2020-11-05 2021-02-09 经纬恒润(天津)研究开发有限公司 ECU (electronic control Unit) upgrading method and device
CN112558990A (en) * 2020-12-15 2021-03-26 交控科技股份有限公司 Maintenance and upgrading method and system for vehicle-mounted safety computer
WO2023000320A1 (en) * 2021-07-23 2023-01-26 华为技术有限公司 Over-the-air (ota) upgrade method and apparatus
CN114268941A (en) * 2021-12-27 2022-04-01 北京自如信息科技有限公司 Target equipment upgrading method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607577A (en) * 2011-01-25 2012-07-25 北京四维图新科技股份有限公司 Method, device and system for updating increment of navigation electronic map
CN105450702A (en) * 2014-08-27 2016-03-30 宇龙计算机通信科技(深圳)有限公司 Method and device for information transmission based on vehicle-borne equipment
CN105786563A (en) * 2016-02-19 2016-07-20 联州(上海)信息科技有限公司 Device, system and method for achieving software online update

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102607577A (en) * 2011-01-25 2012-07-25 北京四维图新科技股份有限公司 Method, device and system for updating increment of navigation electronic map
CN105450702A (en) * 2014-08-27 2016-03-30 宇龙计算机通信科技(深圳)有限公司 Method and device for information transmission based on vehicle-borne equipment
CN105786563A (en) * 2016-02-19 2016-07-20 联州(上海)信息科技有限公司 Device, system and method for achieving software online update

Also Published As

Publication number Publication date
CN109032653A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109032653B (en) Method, device, equipment and storage medium for upgrading vehicle-mounted terminal of unmanned vehicle
CN109831338B (en) Vehicle machine system upgrading method, cloud server and mobile terminal
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN102833350A (en) Processing method and processing device of WebApp updating
CN104699511A (en) Plug-in upgrading method and plug-in upgrading device
CN105808273A (en) Software upgrading method and software upgrading device
CN112650520A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN109819286A (en) Multi-model software synchronization upgrade method, device and terminal device
CN110908695A (en) Vehicle remote upgrading method, device and system
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
CN110543319A (en) Charger firmware upgrading method and related device
CN112230969B (en) Method and equipment for formatting user space storage area in firmware upgrading process
CN113612824A (en) Calibration data management method, system, medium, and device
CN106293814B (en) Upgrading method and device
CN112667272A (en) Ammeter upgrading method and system, intelligent ammeter and storage medium
CN116483660A (en) Method, device and equipment for acquiring vehicle-end log and readable storage medium
CN115277671A (en) OTA (over the air) upgrading method and device for vehicle, vehicle and storage medium
CN115291907A (en) Vehicle upgrading method, device and system
CN111221556B (en) Remote upgrade RSU mirror image method and system
CN112363744A (en) Method and system for upgrading automobile data recorder firmware and storage medium
CN107734010B (en) Upgrading system and upgrading method based on recorder management
CN110825406A (en) Software upgrading method and related equipment
CN111858124A (en) Method and system for automatically detecting integrity of intelligent terminal driver
CN110769030A (en) Method, terminal, server and storage medium for downloading file
CN110618826A (en) Method and device for updating application program and terminal equipment

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