CN109343875A - Application program update processing method, device, automatic driving vehicle and server - Google Patents

Application program update processing method, device, automatic driving vehicle and server Download PDF

Info

Publication number
CN109343875A
CN109343875A CN201811006241.1A CN201811006241A CN109343875A CN 109343875 A CN109343875 A CN 109343875A CN 201811006241 A CN201811006241 A CN 201811006241A CN 109343875 A CN109343875 A CN 109343875A
Authority
CN
China
Prior art keywords
application program
version
automatic driving
update
driving vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811006241.1A
Other languages
Chinese (zh)
Inventor
冯靖超
张建生
季涛
吴利平
陈卓
王柏生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
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 CN201811006241.1A priority Critical patent/CN109343875A/en
Publication of CN109343875A publication Critical patent/CN109343875A/en
Pending legal-status Critical Current

Links

Classifications

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

Abstract

The embodiment of the present invention provides a kind of application program update processing method, device, automatic driving vehicle and server, the method of automatic driving vehicle side includes: to update to request to server sending application program, and described update includes the mark of automatic driving vehicle and the mark of application program to be updated in request;Receive the update file that the server is sent, the differential file of the installation file of the second edition of the installation file for updating the first version that file is the application program and the application program, the first version is the version that the application program is run on the automatic driving vehicle, and the second edition is higher than the first version;According to the update file, the application program being mounted on the automatic driving vehicle is updated.This method can greatly shorten download time, so that the operation of automatic driving vehicle is unaffected.

Description

Application program update processing method, device, automatic driving vehicle and server
Technical field
The present embodiments relate to the communication technology more particularly to a kind of application program update processing method, device, nobody drives Sail vehicle and server.
Background technique
With the development of intelligent driving technology, there is automatic driving vehicle.Automatic driving vehicle can perceive vehicle week Collarette border, and according to road, vehicle location and obstacle information obtained is perceived, the steering and speed of vehicle are controlled, thus It enables the vehicle to reliably and securely travel on road.Automatic driving vehicle relies primarily on internal control system and carries out vehicle Control.Multiple application programs are run in the control system, application program needs continuous iteration optimization, and therefore, it is necessary to control Each application program in system is updated upgrading.
In the prior art, when needing to be updated the application program in control system, automatic driving vehicle is from long-range New application program installation kit is got in server, in turn, automatic driving vehicle pacifies new application program installation kit Dress.
But to may cause application program update speed excessively slow for the method for the prior art, and then influences automatic driving vehicle Operation.
Summary of the invention
The embodiment of the present invention provides a kind of application program update processing method, device, automatic driving vehicle and server, uses In solving the problems, such as that application program update speed is excessively slow in the prior art.
First aspect of the embodiment of the present invention provides a kind of application program update processing method, is applied to automatic driving vehicle, The described method includes:
To server sending application program update request, it is described update request in include automatic driving vehicle mark and The mark of application program to be updated;
The update file that the server is sent is received, the update file is by the server according to described unmanned The mark of the mark of vehicle and the application program obtains, the peace for updating the first version that file is the application program The differential file of the installation file of the second edition of file and the application program is filled, the first version is the application program The version run on the automatic driving vehicle, the second edition are higher than the first version;
According to the update file, the application program being mounted on the automatic driving vehicle is updated.
Further, described according to the update file, update the application being mounted on the automatic driving vehicle Program, comprising:
According to the installation file of the update file and the first version, the installation text of the second edition is generated Part;
Using the installation file of the second edition, by the version updating of the application program to the second edition.
Further, the installation file according to the update file and the first version, generates described second The installation file of version, comprising:
According to the update file, update processing is executed to the installation file of the first version, obtains the second edition This installation file;
The update processing includes one of increase processing, delete processing and replacement processing or a variety of.
Further, described update to server sending application program is requested, comprising:
Receive the update instruction that the server is sent;
According to the update instruction, the application program update request is sent to the server.
Second aspect of the embodiment of the present invention provides a kind of application program update processing method, is applied to server, the side Method includes:
The application program update request that automatic driving vehicle is sent is received, includes described unmanned in the update request The mark of the mark of vehicle and application program to be updated;
It is requested according to the update, generates and update file, the update file is the first version of the application program The differential file of the installation file of the second edition of installation file and the application program, the first version are described using journey The version that sequence is run on the automatic driving vehicle, the second edition are higher than the first version;
The update file is sent to the automatic driving vehicle.
Further, described to be requested according to the update, it generates and updates file, comprising:
According to the mark of the automatic driving vehicle and the mark of the application program, the first version is determined, with And determine the second edition;
Determine the difference of the installation file of the first version and the installation file of the second edition;
According to the difference of the installation file of the first version and the installation file of the second edition, the update is generated File.
Further, the determination first version, comprising:
According to vehicle, the corresponding relationship of application program and the version of operation, the determining mark with the automatic driving vehicle The version that the corresponding application program of the mark of knowledge and the application program is run on the automatic driving vehicle;
The version that the application program is run on the automatic driving vehicle is as the first version.
Further, described update in request further includes version that the application program is run on the automatic driving vehicle This, the determination first version, comprising:
Determine that the version that the application program is run on the automatic driving vehicle is the first version.
Further, before the application program update request for receiving automatic driving vehicle transmission, further includes:
Determine whether the application program installed on the automatic driving vehicle needs to update, if so, to the nothing People drives vehicle and sends update instruction.
Further, whether the application program installed on the determination automatic driving vehicle needs to update, packet It includes:
Obtain the highest version of the application program saved on the server;
Judge whether the version that the application program is run on the automatic driving vehicle is lower than the highest version, if It is, it is determined that the application program installed on the automatic driving vehicle needs to update.
The third aspect of the embodiment of the present invention provides a kind of application program update processing unit, is applied to automatic driving vehicle, Described device includes:
Sending module is requested for updating to server sending application program, includes unmanned in the update request The mark of the mark of vehicle and application program to be updated;
Receiving module, the update file sent for receiving the server, the update file is by the server root It is obtained according to the mark of the automatic driving vehicle and the mark of the application program, the update file is the application program First version installation file and the application program the second edition installation file differential file, the first version For the version that the application program is run on the automatic driving vehicle, the second edition is higher than the first version;
Update module, for updating the application being mounted on the automatic driving vehicle according to the update file Program.
Further, the update module, comprising:
Generation unit generates described second for the installation file according to the update file and the first version The installation file of version;
Updating unit, for using the installation file of the second edition, by the version updating of the application program to institute State the second edition.
Further, the generation unit, is specifically used for:
According to the update file, update processing is executed to the installation file of the first version, obtains the second edition This installation file;
The update processing includes one of increase processing, delete processing and replacement processing or a variety of.
Further, the sending module, comprising:
Acquiring unit, the update instruction sent for receiving the server;
Transmission unit, for sending the application program update request to the server according to the update instruction.
Fourth aspect of the embodiment of the present invention provides a kind of application program update processing unit, is applied to server, the dress It sets and includes:
Receiving module wraps in the update request for receiving the application program update request of automatic driving vehicle transmission Include the mark of the automatic driving vehicle and the mark of application program to be updated;
Generation module generates for being requested according to the update and updates file, and the update file is the application program First version installation file and the application program the second edition installation file differential file, the first version For the version that the application program is run on the automatic driving vehicle, the second edition is higher than the first version;
Sending module, for sending the update file to the automatic driving vehicle.
It is further, described according to generation module, comprising:
First determination unit, for according to the mark of the automatic driving vehicle and the mark of the application program, really The fixed first version, and, determine the second edition;
Second determination unit, for determining the installation file of the first version and the installation file of the second edition Difference;
Generation unit, for the difference according to the installation file of the installation file and second edition of the first version It is different, generate the update file.
Further, first determination unit, is specifically used for:
According to vehicle, the corresponding relationship of application program and the version of operation, the determining mark with the automatic driving vehicle The version that the corresponding application program of the mark of knowledge and the application program is run on the automatic driving vehicle;
The version that the application program is run on the automatic driving vehicle is as the first version.
Further, described update in request further includes version that the application program is run on the automatic driving vehicle This, first determination unit is specifically used for:
Determine that the version that the application program is run on the automatic driving vehicle is the first version.
Further, further includes:
Determining module, for determining whether the application program installed on the automatic driving vehicle needs to update, if It is that update instruction is then sent to the automatic driving vehicle by the sending module.
Further, the determining module, is specifically used for:
Obtain the highest version of the application program saved on the server;
Judge whether the version that the application program is run on the automatic driving vehicle is lower than the highest version, if It is, it is determined that the application program installed on the automatic driving vehicle needs to update.
The 5th aspect of the embodiment of the present invention provides a kind of automatic driving vehicle, comprising:
Memory, for storing program instruction;
Processor executes side described in above-mentioned first aspect for calling and executing the program instruction in the memory Method step.
The 6th aspect of the embodiment of the present invention provides a kind of server, comprising:
Memory, for storing program instruction;
Processor executes side described in above-mentioned second aspect for calling and executing the program instruction in the memory Method step.
The aspect of the embodiment of the present invention the 7th provides a kind of Unmanned Systems, including described in above-mentioned 5th aspect nobody drive Sail server described in vehicle and above-mentioned 6th aspect.
Eighth aspect of the embodiment of the present invention provides a kind of readable storage medium storing program for executing, and calculating is stored in the readable storage medium storing program for executing Machine program, the computer program is for executing method described in above-mentioned first aspect or above-mentioned second aspect.
Application program update processing method, device, automatic driving vehicle and server provided by the embodiment of the present invention, by Automatic driving vehicle is updated to server sending application program requests, and server requests to generate application program in nothing according to the update People drives the differential file on vehicle between the installation file of the highest version of the version run and application program, and drives to nobody It sails vehicle and sends the differential file, automatic driving vehicle, which is based on the differential file, can be updated application program, due to clothes It is differential file that business device is sent to automatic driving vehicle, and therefore not complete installation file can greatly shorten downloading Time, so that the operation of automatic driving vehicle is unaffected.
Detailed description of the invention
It, below will be to embodiment or the prior art in order to illustrate more clearly of the present invention or technical solution in the prior art Attached drawing needed in description is briefly described, it should be apparent that, the accompanying drawings in the following description is of the invention one A little embodiments for those of ordinary skill in the art without any creative labor, can also be according to this A little attached drawings obtain other attached drawings.
Fig. 1 is system architecture diagram involved in application program update processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of application program update processing method embodiment one provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of application program update processing method embodiment two provided in an embodiment of the present invention;
Fig. 4 is a kind of flow diagram of application program update processing method embodiment three provided in an embodiment of the present invention;
Fig. 5 is the process signal of another application program update processing method embodiment one provided in an embodiment of the present invention Figure;
Fig. 6 is the process signal of another application program update processing method embodiment two provided in an embodiment of the present invention Figure;
Fig. 7 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention;
Fig. 8 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention;
Fig. 9 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention;
Figure 10 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention;
Figure 11 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention;
Figure 12 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention;
Figure 13 is a kind of entity block diagram of automatic driving vehicle provided in an embodiment of the present invention;
Figure 14 is a kind of entity block diagram of server provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
In the prior art, when the application program in automatic driving vehicle needs to update, automatic driving vehicle needs to obtain To the full content in new application program installation kit, so as to cause the download time mistake when obtaining new application program installation kit It is long, and then influence the operation of automatic driving vehicle.
The embodiment of the present invention based on the above issues, proposes a kind of application program update processing method, by automatic driving vehicle It updates and requests to server sending application program, server requests to generate application program on automatic driving vehicle according to the update Differential file between the installation file of the highest version of the version and application program of operation, and sending to automatic driving vehicle should Differential file, automatic driving vehicle, which is based on the differential file, can be updated application program, since server is driven to nobody Sailing vehicle transmission is differential file, and therefore not complete installation file can greatly shorten download time, to make The operation for obtaining automatic driving vehicle is unaffected.
Fig. 1 is system architecture diagram involved in application program update processing method provided in an embodiment of the present invention, such as Fig. 1 institute Show, this method is related to automatic driving vehicle and server.Automatic driving vehicle can be by building between wireless network and server Vertical communication connection.Server can be communicated between multiple automatic driving vehicles simultaneously.It can be saved on server each The information for each application program installed on automatic driving vehicle, for example, some application program highest version installation text Mounted version identifier etc. on part, automatic driving vehicle.Server can be according to these information to each automatic driving vehicle The renewal process of application program controlled.
Application program update processing method provided by the embodiment of the present invention can be applied in the various of automatic driving vehicle In Run-time scenario.For example, in the driving process of automatic driving vehicle or under the stationary state of automatic driving vehicle, The application program installed in automatic driving vehicle is updated in provided method through the embodiment of the present invention.
Following embodiment of the present invention illustrates the embodiment of the present invention from the angle of automatic driving vehicle and server respectively Scheme.
It is illustrated first from the angle of automatic driving vehicle below.
Fig. 2 is a kind of flow diagram of application program update processing method embodiment one provided in an embodiment of the present invention, The executing subject of this method is above-mentioned automatic driving vehicle, the control system being specifically as follows in above-mentioned automatic driving vehicle.Such as Shown in Fig. 2, this method comprises:
S201, it updates and requests to server sending application program, include the mark of automatic driving vehicle in update request And the mark of application program to be updated.
Optionally, server can be communicated with multiple automatic driving vehicles, and each automatic driving vehicle can be preparatory It is registered in server, server can distribute a unique identification for the automatic driving vehicle of registration, which for example may be used To be unique number etc., alternatively, the mark for the automatic driving vehicle that can also be sent from automatic driving vehicle to server Know, which for example can be the device numbering etc. of automatic driving vehicle.
Optionally, each application program installed on automatic driving vehicle, which has, is different from the unique of other applications Mark, automatic driving vehicle can get the mark when the application is installed.
In this step, automatic driving vehicle is updated to server sending application program is requested, and is carried in the request above-mentioned The mark of the mark of automatic driving vehicle and above-mentioned application program.
S202, receive the update file that above-mentioned server is sent, the update file by above-mentioned server according to it is above-mentioned nobody The mark of the mark and above-mentioned application program that drive vehicle obtains, which is the first version of above-mentioned application program The differential file of the installation file of the second edition of installation file and above-mentioned application program, the first version are above-mentioned application program The version run on above-mentioned automatic driving vehicle, the second edition are higher than above-mentioned first version.
It optionally, can be according to the automatic driving vehicle updated in request after server receives above-mentioned update request Mark and application program mark, generate the version that runs on automatic driving vehicle of application program and the higher second edition Differential file between this.The second edition can be current highest version provided by the application program provider.Server The concrete processing procedure of side will be described in detail in the embodiment of following server sides.
After server generates above-mentioned differential file, which can be sent to above-mentioned automatic driving vehicle, taken The mark that business device can carry above-mentioned application program simultaneously can be true after automatic driving vehicle receives above-mentioned differential file Application program corresponding to the fixed differential file.
S203, the above-mentioned application program being mounted on above-mentioned automatic driving vehicle according to above-mentioned update file, update.
Optionally, upgrade package of the automatic driving vehicle based on the above-mentioned above-mentioned application program of update file generated, and running should Upgrade package, to complete the upgrading of above-mentioned application program.
In the present embodiment, from automatic driving vehicle to server sending application program update request, server according to this more New request generate the highest version of version and application program that application program is run on automatic driving vehicle installation file it Between differential file, and send the differential file to automatic driving vehicle, automatic driving vehicle is based on the differential file can be right Application program is updated, and is differential file since server is sent to automatic driving vehicle, and not complete installation text Therefore part can greatly shorten download time, so that the operation of automatic driving vehicle is unaffected.
On the basis of the above embodiments, the present embodiment is related to the process of automatic driving vehicle more new application.
Fig. 3 is a kind of flow diagram of application program update processing method embodiment two provided in an embodiment of the present invention, As shown in figure 3, above-mentioned steps S203 includes:
S301, according to the installation file of above-mentioned update file and above-mentioned first version, generate the peace of the above-mentioned second edition Fill file.
Optionally, the content in above-mentioned update file represents the difference between above-mentioned first version and the second edition, and Not complete installation file, therefore, in this step, based on original first edition on the update file and automatic driving vehicle This installation file, obtains the installation file of the second edition.
Optionally, automatic driving vehicle can execute the installation file of above-mentioned first version according to above-mentioned update file Update processing, obtains the installation file of the above-mentioned second edition.
Wherein, above-mentioned update processing includes one of increase processing, delete processing and replacement processing or a variety of.
In a kind of example, the second edition is described in above-mentioned update file compared to the increased content of first version institute, then The content updated in file can be merged into the installation file of the first version locally saved by automatic driving vehicle, thus To the installation file of the second edition.
In another example, the second edition is described in above-mentioned update file compared to the content that first version is deleted, Then automatic driving vehicle is from the corresponding content updated in file is deleted in the installation file of the first version locally saved, to obtain To the installation file of the second edition.
S302, using the installation file of the above-mentioned second edition, by the version updating of above-mentioned application program to the above-mentioned second edition This.
Optionally, after the installation file for obtaining the above-mentioned second edition, it can be automatically operated the installation file, thus by above-mentioned The version updating of application program is to the above-mentioned second edition.
On the basis of the above embodiments, the present embodiment is related to automatic driving vehicle to the one of server transmission update request Kind optional process.
Fig. 4 is a kind of flow diagram of application program update processing method embodiment three provided in an embodiment of the present invention, As shown in figure 4, above-mentioned steps S201 includes:
S401, the update instruction that above-mentioned server is sent is received.
Optionally, after some application program provides new version, server can know the information of version updating, and And get the installation file of new version.After server knows the information of version updating, it can be sent out to automatic driving vehicle Send update instruction.
S402, according to above-mentioned update instruction, send above-mentioned application program update request to above-mentioned server.
In a kind of optional way, after automatic driving vehicle receives above-mentioned update instruction, server can be stated directly up Sending application program updates request.
It, can be according to automatic driving car after automatic driving vehicle receives above-mentioned update instruction in another optional way Current operating conditions, determine send update request time.Illustratively, if automatic driving vehicle is currently in row It sails state, while having existed an application program and being carrying out update, then automatic driving vehicle can not send update request, After the completion of an application program update for being carrying out update, then is sent to server and update request.
It is illustrated below from the angle of server.
Fig. 5 is the process signal of another application program update processing method embodiment one provided in an embodiment of the present invention Figure, the executing subject of this method are above-mentioned server, as shown in figure 5, this method comprises:
S501, receive automatic driving vehicle send application program update request, the update request in include it is above-mentioned nobody Drive the mark of vehicle and the mark of application program to be updated.
S502, it is requested according to above-mentioned update, generates and update file, which is the first version of above-mentioned application program Installation file and above-mentioned application program the second edition installation file differential file, the first version be it is above-mentioned apply journey The version that sequence is run on above-mentioned automatic driving vehicle, the second edition are higher than above-mentioned first version.
It optionally, can be according to the automatic driving vehicle updated in request after server receives above-mentioned update request Mark and application program mark, generate the version that runs on automatic driving vehicle of application program and the higher second edition Differential file between this.
The second edition can be current highest version provided by the application program provider.
In a kind of optional way, clothes that the installation file of the second edition can pass through oneself by the provider of application program Business device is sent to server involved in the embodiment of the present invention, and the server as involved in the embodiment of the present invention is saved.
In another optional way, the provider of application program can be only by the server of oneself to the embodiment of the present invention Related server sends the notification information of highest version, can only save and answer on server involved in the embodiment of the present invention With the information of the most thin version of program, when need to generate update file when, server involved in the embodiment of the present invention is again from answering With the installation file for obtaining highest version on the server of program.
S503, above-mentioned update file is sent to above-mentioned automatic driving vehicle.
After server generates above-mentioned differential file, which can be sent to above-mentioned automatic driving vehicle.
Optionally, server can carry the mark of above-mentioned application program simultaneously, when automatic driving vehicle receive it is above-mentioned After differential file, application program corresponding to the differential file can be determined.
In the present embodiment, from automatic driving vehicle to server sending application program update request, server according to this more New request generate the highest version of version and application program that application program is run on automatic driving vehicle installation file it Between differential file, and send the differential file to automatic driving vehicle, automatic driving vehicle is based on the differential file can be right Application program is updated, and is differential file since server is sent to automatic driving vehicle, and not complete installation text Therefore part can greatly shorten download time, so that the operation of automatic driving vehicle is unaffected.
On the basis of the above embodiments, the present embodiment is related to the process that server generates above-mentioned update file.
Fig. 6 is the process signal of another application program update processing method embodiment two provided in an embodiment of the present invention Figure, as shown in fig. 6, above-mentioned steps S502 includes:
S601, according to the mark of above-mentioned automatic driving vehicle and the mark of above-mentioned application program, determine the above-mentioned first edition This, and, determine the above-mentioned second edition.
Wherein it is determined that above-mentioned first version can specifically refer to the version number of determining first version, the above-mentioned second edition is determined It can specifically refer to the version number of the determining second edition.
Optionally, for the above-mentioned second edition, if only having recorded the information of the highest version of application program on server, The version number of the highest version then recorded is the version number of the second edition.If saving application program on server The installation file of highest version, then server can determine the second edition according to the version property information entrained by installation file Version number.
Optionally, for above-mentioned first version, server can determine the version number of first version according to the information of record, Alternatively, can also determine the version number of first version by interacting with automatic driving vehicle.
The difference of the installation file of S602, the installation file for determining above-mentioned first version and the above-mentioned second edition.
Optionally, the installation file of multiple versions of application program can be saved on server, server is determining After one version and the second edition, diversity ratio pair is carried out to the installation file of first version and the second edition, to determine two peaces Fill the difference between file.
Illustratively, server can be used difference analysis tool and determine difference between two installation files.
Illustratively, server by difference analysis tool determine first version installation file content more than second The content of the installation file of version, it is determined that difference is that the installation file of first version is more extra than the installation file of the second edition Part.Server by difference analysis tool determine first version installation file content less than the second edition installation text The content of part, it is determined that difference be first version installation file than the second edition installation file deletion part.Server Determine that the content of the installation file of first version is different from the content of the installation file of the second edition, it is determined that difference is the first edition Replacement part of this installation file than the second application program installation kit.
S603, the difference according to the installation file of the installation file and above-mentioned second edition of above-mentioned first version, in generation It states update and updates file.
Optionally, a new file can be written in the difference determined by above-mentioned steps by server, and in this article The predeterminated position of part, such as beginning location identify the type of the difference, including increase, deletion or replacement.
Optionally, if the difference of two installation files include it is a variety of in above-mentioned difference, can be respectively in every portion The type of the part variation is identified before the difference content divided.
On the basis of the above embodiments, the present embodiment is related to determining the process of first version in above-mentioned steps S601.
In a kind of optional embodiment, server can be determined as follows first version:
Firstly, according to vehicle, the corresponding relationship of application program and the version of operation, determining and above-mentioned automatic driving vehicle Mark and above-mentioned application program the version that is run on above-mentioned automatic driving vehicle of the corresponding above-mentioned application program of mark.
Optionally, the mapping table that can establish a vehicle, application program and the version of operation on server, in the mapping The mapping relations of the three are recorded in table.In the mapping table, the mark of vehicle and application program can be remained unchanged, when the vehicle After the application program update under, that is, after the version updating run, more new vehicle and application program institute in the mapping table The version of corresponding operation.
In this step, can directly by inquire this should mapping table, the program that is applied transports on automatic driving vehicle Capable version.
Secondly, the version that above-mentioned application program is run on above-mentioned automatic driving vehicle is as above-mentioned first version.
In another optional embodiment, it can be carried simultaneously in above-mentioned update request on automatic driving vehicle State the version that application program is run on above-mentioned automatic driving vehicle.In this case, server can determine above-mentioned application The version that program is run on above-mentioned automatic driving vehicle is above-mentioned first version.
On the basis of the above embodiments, the present embodiment is related to the mistake that server determines the need for more new application Journey.
Optionally, server is before receiving above-mentioned update request, it is first determined installs on above-mentioned automatic driving vehicle Whether above-mentioned application program, which needs, updates, if so, sending update instruction to above-mentioned automatic driving vehicle.
Optionally, server can determine the above-mentioned application program installed on above-mentioned automatic driving vehicle by following process Whether need to update:
Server obtains the highest version of the above-mentioned application program saved on server, and judges that above-mentioned application program exists Whether the version run on above-mentioned automatic driving vehicle is lower than above-mentioned highest version, if so, determining above-mentioned automatic driving vehicle The above-mentioned application program of upper installation needs to update.
Wherein, the process that server obtains the highest version of above-mentioned application program is referred to the description of above-described embodiment.
Optionally, judge whether the version that above-mentioned application program is run on above-mentioned automatic driving vehicle is lower than above-mentioned highest When version, the version number of highest version can be compared with the version number of the version of operation, if the version of the version of operation This number version number for being less than highest version then illustrates the version of operation lower than highest version.
Fig. 7 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention, which answers For automatic driving vehicle, as shown in fig. 7, the device includes:
Sending module 701 is requested for updating to server sending application program, is driven in the update request including nobody Sail the mark of vehicle and the mark of application program to be updated.
Receiving module 702, the update file sent for receiving the server, the update file is by the server It is obtained according to the mark of the mark of the automatic driving vehicle and the application program, the update file is described using journey The differential file of the installation file of the second edition of the installation file of the first version of sequence and the application program, the first edition This is the version that the application program is run on the automatic driving vehicle, and the second edition is higher than the first version.
Update module 703 is answered for according to the update file, updating be mounted on the automatic driving vehicle described Use program.
Function of the device for realizing automatic driving vehicle in preceding method embodiment, implementing principle and technical effect Similar, details are not described herein again.
Fig. 8 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention, such as Fig. 8 institute Show, update module 703, comprising:
Generation unit 7031, for the installation file according to the update file and the first version, described in generation The installation file of the second edition.
Updating unit 7032, for using the installation file of the second edition, by the version updating of the application program To the second edition.
In another embodiment, generation unit 7031 is specifically used for:
According to the update file, update processing is executed to the installation file of the first version, obtains the second edition This installation file.
The update processing includes one of increase processing, delete processing and replacement processing or a variety of.
Fig. 9 is a kind of function structure chart of application program update processing unit provided in an embodiment of the present invention, such as Fig. 9 institute Show, sending module 701, comprising:
Acquiring unit 7011, the update instruction sent for receiving the server.
Transmission unit 7012, for sending the application program update to the server and asking according to the update instruction It asks.
Figure 10 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention, the device Applied to server, as shown in Figure 10, which includes:
Receiving module 1001, for receiving the application program update request of automatic driving vehicle transmission, the update request In include the automatic driving vehicle mark and application program to be updated mark;
Generation module 1002 generates for being requested according to the update and updates file, and the update file is the application The differential file of the installation file of the second edition of the installation file of the first version of program and the application program, described first Version is the version that the application program is run on the automatic driving vehicle, and the second edition is higher than the first edition This;
Sending module 1003, for sending the update file to the automatic driving vehicle.
For the device for realizing the function of server in preceding method embodiment, it is similar that the realization principle and technical effect are similar, Details are not described herein again.
Figure 11 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention, such as Figure 11 It is shown, generation module 1002, comprising:
First determination unit 10021, for according to the mark of the automatic driving vehicle and the mark of the application program Know, determines the first version, and, determine the second edition.
Second determination unit 10022, for determining the installation file of the first version and the installation of the second edition The difference of file.
Generation unit 10023, for according to the installation file of the first version and the installation file of the second edition Difference, generate the update file.
In another embodiment, the first determination unit 10021 is specifically used for:
According to vehicle, the corresponding relationship of application program and the version of operation, the determining mark with the automatic driving vehicle Know and version that the corresponding application program of mark of the application program is run on the automatic driving vehicle,
The version that the application program is run on the automatic driving vehicle is as the first version.
It further include that the application program is run on the automatic driving vehicle in the update request in another embodiment Version, the first determination unit 10021 is specifically used for:
Determine that the version that the application program is run on the automatic driving vehicle is the first version.
Figure 12 is the function structure chart of another application program update processing unit provided in an embodiment of the present invention, such as Figure 12 It is shown, further includes:
Determining module 1004, for determining whether the application program installed on the automatic driving vehicle needs more Newly, if so, sending update instruction to the automatic driving vehicle by the sending module.
In another embodiment, determining module 1004 is specifically used for:
Obtain the highest version of the application program saved on the server;
Judge whether the version that the application program is run on the automatic driving vehicle is lower than the highest version, if It is, it is determined that the application program installed on the automatic driving vehicle needs to update.
Figure 13 is a kind of entity block diagram of automatic driving vehicle provided in an embodiment of the present invention, as shown in figure 13, this nobody Driving vehicle 1300 includes:
Memory 1301, for storing program instruction.
Processor 1302 executes in above method embodiment for calling and executing the program instruction in memory 1301 The method and step as performed by automatic driving car vehicle.
Figure 14 is a kind of entity block diagram of server provided in an embodiment of the present invention, as shown in figure 14, the server 1400 Include:
Memory 1401, for storing program instruction;
Processor 1402 executes in above method embodiment for calling and executing the program instruction in memory 1401 The method and step as performed by server.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (24)

1. a kind of application program update processing method, which is characterized in that be applied to automatic driving vehicle, which comprises
It updates and requests to server sending application program, it is described to update the mark in requested including automatic driving vehicle and to more The mark of new application program;
The update file that the server is sent is received, the update file is by the server according to the automatic driving vehicle Mark and the mark of the application program obtain, the installation text for updating the first version that file is the application program The differential file of the installation file of the second edition of part and the application program, the first version is the application program in institute The version run on automatic driving vehicle is stated, the second edition is higher than the first version;
According to the update file, the application program being mounted on the automatic driving vehicle is updated.
2. update is mounted on described the method according to claim 1, wherein described according to the update file The application program on automatic driving vehicle, comprising:
According to the installation file of the update file and the first version, the installation file of the second edition is generated;
Using the installation file of the second edition, by the version updating of the application program to the second edition.
3. according to the method described in claim 2, it is characterized in that, described according to the update file and the first version Installation file, generate the installation file of the second edition, comprising:
According to the update file, update processing is executed to the installation file of the first version, obtains the second edition Installation file;
The update processing includes one of increase processing, delete processing and replacement processing or a variety of.
4. method according to claim 1-3, which is characterized in that described to be updated to server sending application program Request, comprising:
Receive the update instruction that the server is sent;
According to the update instruction, the application program update request is sent to the server.
5. a kind of application program update processing method, which is characterized in that be applied to server, which comprises
The application program update request that automatic driving vehicle is sent is received, includes the automatic driving vehicle in the update request Mark and application program to be updated mark;
It is requested according to the update, generates and update file, the installation for updating the first version that file is the application program The differential file of the installation file of the second edition of file and the application program, the first version are that the application program exists The version run on the automatic driving vehicle, the second edition are higher than the first version;
The update file is sent to the automatic driving vehicle.
6. according to the method described in claim 5, generation updates file, packet it is characterized in that, described request according to the update It includes:
According to the mark of the automatic driving vehicle and the mark of the application program, the first version is determined, and, really The fixed second edition;
Determine the difference of the installation file of the first version and the installation file of the second edition;
According to the difference of the installation file of the first version and the installation file of the second edition, the update text is generated Part.
7. according to the method described in claim 6, it is characterized in that, the determination first version, comprising:
According to vehicle, the corresponding relationship of application program and the version of operation, the determining mark with the automatic driving vehicle with And the version that the corresponding application program of mark of the application program is run on the automatic driving vehicle;
The version that the application program is run on the automatic driving vehicle is as the first version.
8. according to the method described in claim 6, it is characterized in that, further including the application program in institute in update request State the version run on automatic driving vehicle, the determination first version, comprising:
Determine that the version that the application program is run on the automatic driving vehicle is the first version.
9. according to the described in any item methods of claim 5-8, which is characterized in that described to receive answering for automatic driving vehicle transmission It is updated with program before requesting, further includes:
Determine whether the application program installed on the automatic driving vehicle needs to update, if so, to it is described nobody drive It sails vehicle and sends update instruction.
10. according to the method described in claim 9, it is characterized in that, the institute installed on the determination automatic driving vehicle State whether application program needs to update, comprising:
Obtain the highest version of the application program saved on the server;
Judge whether the version that the application program is run on the automatic driving vehicle is lower than the highest version, if so, Then determine that the application program installed on the automatic driving vehicle needs to update.
11. a kind of application program update processing unit, which is characterized in that be applied to automatic driving vehicle, described device includes:
Sending module is requested for updating to server sending application program, includes automatic driving vehicle in the update request Mark and application program to be updated mark;
Receiving module, the update file sent for receiving the server, the update file is by the server according to institute The mark of the mark and the application program of stating automatic driving vehicle obtains, update that file is the application program the The differential file of the installation file of the second edition of the installation file of one version and the application program, the first version is institute The version that application program is run on the automatic driving vehicle is stated, the second edition is higher than the first version;
Update module, for updating the application program being mounted on the automatic driving vehicle according to the update file.
12. device according to claim 11, which is characterized in that the update module, comprising:
Generation unit generates the second edition for the installation file according to the update file and the first version Installation file;
Updating unit, for using the installation file of the second edition, by the version updating of the application program to described Two versions.
13. device according to claim 12, which is characterized in that the generation unit is specifically used for:
According to the update file, update processing is executed to the installation file of the first version, obtains the second edition Installation file;
The update processing includes one of increase processing, delete processing and replacement processing or a variety of.
14. the described in any item devices of 1-13 according to claim 1, which is characterized in that the sending module, comprising:
Acquiring unit, the update instruction sent for receiving the server;
Transmission unit, for sending the application program update request to the server according to the update instruction.
15. a kind of application program update processing unit, which is characterized in that be applied to server, described device includes:
Receiving module includes institute in the update request for receiving the application program update request of automatic driving vehicle transmission State the mark of automatic driving vehicle and the mark of application program to be updated;
Generation module generates for being requested according to updates and updates file, and the file that updates is the of the application program The differential file of the installation file of the second edition of the installation file of one version and the application program, the first version is institute The version that application program is run on the automatic driving vehicle is stated, the second edition is higher than the first version;
Sending module, for sending the update file to the automatic driving vehicle.
16. device according to claim 15, which is characterized in that described according to generation module, comprising:
First determination unit, for determining institute according to the mark of the automatic driving vehicle and the mark of the application program First version is stated, and, determine the second edition;
Second determination unit, for determining the difference of the installation file of the first version and the installation file of the second edition It is different;
Generation unit, it is raw for the difference according to the installation file of the installation file and second edition of the first version At the update file.
17. device according to claim 16, which is characterized in that first determination unit is specifically used for:
According to vehicle, the corresponding relationship of application program and the version of operation, the determining mark with the automatic driving vehicle with And the version that the corresponding application program of mark of the application program is run on the automatic driving vehicle;
The version that the application program is run on the automatic driving vehicle is as the first version.
18. device according to claim 16, which is characterized in that further include that the application program exists in the update request The version run on the automatic driving vehicle, first determination unit, is specifically used for:
Determine that the version that the application program is run on the automatic driving vehicle is the first version.
19. the described in any item devices of 5-18 according to claim 1, which is characterized in that further include:
Determining module, for determining whether the application program installed on the automatic driving vehicle needs to update, if so, Update instruction is sent to the automatic driving vehicle by the sending module.
20. device according to claim 19, which is characterized in that the determining module is specifically used for:
Obtain the highest version of the application program saved on the server;
Judge whether the version that the application program is run on the automatic driving vehicle is lower than the highest version, if so, Then determine that the application program installed on the automatic driving vehicle needs to update.
21. a kind of automatic driving vehicle characterized by comprising
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, perform claim requires the described in any item sides of 1-4 Method step.
22. a kind of server characterized by comprising
Memory, for storing program instruction;
Processor, for calling and executing the program instruction in the memory, perform claim requires 5-10 described in any item Method and step.
23. a kind of Unmanned Systems, which is characterized in that including described in claim 21 automatic driving vehicle and right want Server described in asking 22.
24. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter in the readable storage medium storing program for executing Calculation machine program requires any one of 1-4 or the described in any item methods of claim 5-10 for perform claim.
CN201811006241.1A 2018-08-30 2018-08-30 Application program update processing method, device, automatic driving vehicle and server Pending CN109343875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811006241.1A CN109343875A (en) 2018-08-30 2018-08-30 Application program update processing method, device, automatic driving vehicle and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811006241.1A CN109343875A (en) 2018-08-30 2018-08-30 Application program update processing method, device, automatic driving vehicle and server

Publications (1)

Publication Number Publication Date
CN109343875A true CN109343875A (en) 2019-02-15

Family

ID=65296922

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811006241.1A Pending CN109343875A (en) 2018-08-30 2018-08-30 Application program update processing method, device, automatic driving vehicle and server

Country Status (1)

Country Link
CN (1) CN109343875A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11762648B2 (en) 2021-03-17 2023-09-19 Toyota Motor Engineering & Manufacturing North America, Inc. Systems and methods of coordinating application versions among connected vehicles

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101454760A (en) * 2006-06-09 2009-06-10 爱信艾达株式会社 Data updating system, navigation device, server, and method of data updating
CN102334100A (en) * 2009-02-24 2012-01-25 富士通天株式会社 Program update device, program update method, and information processing device
CN102576307A (en) * 2009-10-15 2012-07-11 爱尔比奎特公司 Centralized management of motor vehicle software applications and services
CN103136013A (en) * 2011-12-01 2013-06-05 腾讯科技(深圳)有限公司 Method and system of software upgrade
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software program in automobile
CN105450702A (en) * 2014-08-27 2016-03-30 宇龙计算机通信科技(深圳)有限公司 Method and device for information transmission based on vehicle-borne equipment
CN105573790A (en) * 2015-12-15 2016-05-11 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted system software upgrade method, vehicle-mounted system and software server
CN106775789A (en) * 2015-11-19 2017-05-31 中车大连电力牵引研发中心有限公司 Locomotive Oftware updating method, equipment and system
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN106897087A (en) * 2017-01-17 2017-06-27 株洲中车时代电气股份有限公司 Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software
CN107666498A (en) * 2016-07-27 2018-02-06 比亚迪股份有限公司 Update method, device, cloud server, system and the vehicle of vehicle module

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101454760A (en) * 2006-06-09 2009-06-10 爱信艾达株式会社 Data updating system, navigation device, server, and method of data updating
CN102334100A (en) * 2009-02-24 2012-01-25 富士通天株式会社 Program update device, program update method, and information processing device
CN102576307A (en) * 2009-10-15 2012-07-11 爱尔比奎特公司 Centralized management of motor vehicle software applications and services
CN103136013A (en) * 2011-12-01 2013-06-05 腾讯科技(深圳)有限公司 Method and system of software upgrade
CN105450702A (en) * 2014-08-27 2016-03-30 宇龙计算机通信科技(深圳)有限公司 Method and device for information transmission based on vehicle-borne equipment
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software program in automobile
CN106775789A (en) * 2015-11-19 2017-05-31 中车大连电力牵引研发中心有限公司 Locomotive Oftware updating method, equipment and system
CN105573790A (en) * 2015-12-15 2016-05-11 上海博泰悦臻网络技术服务有限公司 Vehicle-mounted system software upgrade method, vehicle-mounted system and software server
CN107666498A (en) * 2016-07-27 2018-02-06 比亚迪股份有限公司 Update method, device, cloud server, system and the vehicle of vehicle module
CN106802818A (en) * 2016-12-31 2017-06-06 智车优行科技(北京)有限公司 The upgrade method of mobile unit, business processing device and system, vehicle
CN106897087A (en) * 2017-01-17 2017-06-27 株洲中车时代电气股份有限公司 Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11762648B2 (en) 2021-03-17 2023-09-19 Toyota Motor Engineering & Manufacturing North America, Inc. Systems and methods of coordinating application versions among connected vehicles

Similar Documents

Publication Publication Date Title
CN109445810A (en) Information upgrade method, device and the storage medium of automatic driving vehicle
CN106802818A (en) The upgrade method of mobile unit, business processing device and system, vehicle
CN109165055B (en) Unmanned system component loading method and device, computer equipment and medium
CN111722860B (en) OTA upgrading method and device based on finite state machine
CN110658794B (en) Manufacturing execution system
KR20200056300A (en) Method and apparatus for controlling unmanned vehicle to perform route verification
CN110103987B (en) Decision planning method and device applied to automatic driving vehicle
AU2017245437B2 (en) Thin client for mapping system
US11487289B1 (en) Autonomous vehicle repair
CN104935741A (en) Interconnecting method and system of vehicle-mounted information and entertainment device and mobile terminal
CN109416646A (en) A kind of optimization method and processing equipment of container allocation
CN109343875A (en) Application program update processing method, device, automatic driving vehicle and server
US11327482B2 (en) Apparatuses, methods and computer programs for a transportation vehicle and a central office
CN111510857B (en) Method and equipment for realizing cooperative movement among users
US20190121798A1 (en) Updating a Digital Map
US20220250637A1 (en) Vehicle control and task processing method and apparatus, computing device and system
CN111694848A (en) Method and apparatus for updating data buffer using reference count
JP2021533437A (en) Information presentation methods and devices, electronic devices, storage media and computer programs
CN112445473A (en) Client layout method and device, storage medium and electronic equipment
CN115755923A (en) Intelligent vehicle map interaction method, device, equipment and storage medium
CN110264114A (en) A kind of data processing method and device
US11842640B2 (en) Computing system and method for operating a computing system
CN108475185B (en) Mirror image control method and mirror image system for engineering machinery
CN114448998A (en) Network request processing method, device, equipment and storage medium
CN111212404A (en) Robot communication method, system, device, robot and 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190215